Re: [libvirt-sandbox][PATCH] Add missing break statements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/18/2013 05:51 PM, Osier Yang wrote:
On 2013年03月18日 15:10, Alex Jia wrote:

Signed-off-by: Alex Jia<ajia@xxxxxxxxxx>
---
  libvirt-sandbox/libvirt-sandbox-init-qemu.c |    4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/libvirt-sandbox/libvirt-sandbox-init-qemu.c b/libvirt-sandbox/libvirt-sandbox-init-qemu.c
index 38ed284..dfa1374 100644
--- a/libvirt-sandbox/libvirt-sandbox-init-qemu.c
+++ b/libvirt-sandbox/libvirt-sandbox-init-qemu.c
@@ -496,12 +496,16 @@ insmod(const char *filename)
          switch (errno) {
          case ENOEXEC:
              msg = "Invalid module format";
+            break;
          case ENOENT:
              msg = "Unknown symbol in module";
+            break;
          case ESRCH:
              msg = "Module has wrong symbol version";
+            break;
          case EINVAL:
              msg = "Invalid parameters";
+            break;
          default:
              msg = strerror(errno);
          }

ACK

Thanks and push now.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]