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

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



On 2013年03月18日 15:10, Alex Jia wrote:

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);
          }

ACK


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