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

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



Signed-off-by: Alex Jia <ajia redhat com>
---
 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);
         }
-- 
1.7.1


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