]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virterror.c: avoid erroneous case "fall-through"
authorJim Meyering <meyering@redhat.com>
Tue, 6 Apr 2010 17:07:14 +0000 (19:07 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 6 Apr 2010 17:34:20 +0000 (19:34 +0200)
* src/util/virterror.c (virErrorMsg): Insert missing "break;"

src/util/virterror.c

index d29f95ba2b6480d54950055bdc6d5448812ee1d3..96dd1e7f1a1443544526590fc8ec40acaae1067a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * virterror.c: implements error handling and reporting code for libvirt
  *
- * Copy:  Copyright (C) 2006, 2008, 2009 Red Hat, Inc.
+ * Copy:  Copyright (C) 2006, 2008-2010 Red Hat, Inc.
  *
  * See COPYING.LIB for the License of this software
  *
@@ -1150,6 +1150,7 @@ virErrorMsg(virErrorNumber error, const char *info)
                 errmsg = _("Failed to make domain persistent after migration");
             else
                 errmsg = _("Failed to make domain persistent after migration: %s");
+            break;
         case VIR_ERR_HOOK_SCRIPT_FAILED:
             if (info == NULL)
                 errmsg = _("Hook script execution failed");