]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
* src/virterror.c (virErrorMsg): Correct indentation.
authorJim Meyering <meyering@redhat.com>
Tue, 27 Jan 2009 08:49:15 +0000 (08:49 +0000)
committerJim Meyering <meyering@redhat.com>
Tue, 27 Jan 2009 08:49:15 +0000 (08:49 +0000)
ChangeLog
src/virterror.c

index f6e9af939d8a1933384e1d6876362c8423766677..9b32e63ba93b8cb1afb63d130c7299d3f1b3f5fd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Jan 26 14:44:22 +0100 2009 Jim Meyering <meyering@redhat.com>
+
+       * src/virterror.c (virErrorMsg): Correct indentation.
+
 Fri Jan 23 11:07:42 PST 2009 John Levon <john.levon@sun.com>
 
        * src/xs_internal.c: fix recursive lock hang
index 9732eb4fff50263ce681da13ca7751300728d788..0c6678151e53c77132dea246d8d5a1fe7cb947be 100644 (file)
@@ -902,66 +902,66 @@ virErrorMsg(virErrorNumber error, const char *info)
             else
                 errmsg = _("Network not found: %s");
             break;
-    case VIR_ERR_INVALID_MAC:
+        case VIR_ERR_INVALID_MAC:
             if (info == NULL)
                 errmsg = _("invalid MAC address");
             else
                 errmsg = _("invalid MAC address: %s");
             break;
-    case VIR_ERR_AUTH_FAILED:
+        case VIR_ERR_AUTH_FAILED:
             if (info == NULL)
                 errmsg = _("authentication failed");
             else
                 errmsg = _("authentication failed: %s");
             break;
         case VIR_ERR_NO_STORAGE_POOL:
-                if (info == NULL)
-                        errmsg = _("Storage pool not found");
-                else
-                        errmsg = _("Storage pool not found: %s");
-                break;
+            if (info == NULL)
+                    errmsg = _("Storage pool not found");
+            else
+                    errmsg = _("Storage pool not found: %s");
+            break;
         case VIR_ERR_NO_STORAGE_VOL:
-                if (info == NULL)
-                        errmsg = _("Storage volume not found");
-                else
-                        errmsg = _("Storage volume not found: %s");
-                break;
+            if (info == NULL)
+                    errmsg = _("Storage volume not found");
+            else
+                    errmsg = _("Storage volume not found: %s");
+            break;
         case VIR_ERR_INVALID_STORAGE_POOL:
-                if (info == NULL)
-                        errmsg = _("invalid storage pool pointer in");
-                else
-                        errmsg = _("invalid storage pool pointer in %s");
-                break;
+            if (info == NULL)
+                    errmsg = _("invalid storage pool pointer in");
+            else
+                    errmsg = _("invalid storage pool pointer in %s");
+            break;
         case VIR_ERR_INVALID_STORAGE_VOL:
-                if (info == NULL)
-                        errmsg = _("invalid storage volume pointer in");
-                else
-                        errmsg = _("invalid storage volume pointer in %s");
-                break;
+            if (info == NULL)
+                    errmsg = _("invalid storage volume pointer in");
+            else
+                    errmsg = _("invalid storage volume pointer in %s");
+            break;
         case VIR_WAR_NO_STORAGE:
-                if (info == NULL)
-                        errmsg = _("Failed to find a storage driver");
-                else
-                        errmsg = _("Failed to find a storage driver: %s");
-                break;
+            if (info == NULL)
+                    errmsg = _("Failed to find a storage driver");
+            else
+                    errmsg = _("Failed to find a storage driver: %s");
+            break;
         case VIR_WAR_NO_NODE:
-                if (info == NULL)
-                        errmsg = _("Failed to find a node driver");
-                else
-                        errmsg = _("Failed to find a node driver: %s");
-                break;
+            if (info == NULL)
+                    errmsg = _("Failed to find a node driver");
+            else
+                    errmsg = _("Failed to find a node driver: %s");
+            break;
         case VIR_ERR_INVALID_NODE_DEVICE:
-                if (info == NULL)
-                        errmsg = _("invalid node device pointer");
-                else
-                        errmsg = _("invalid node device pointer in %s");
-                break;
+            if (info == NULL)
+                    errmsg = _("invalid node device pointer");
+            else
+                    errmsg = _("invalid node device pointer in %s");
+            break;
         case VIR_ERR_NO_NODE_DEVICE:
-                if (info == NULL)
-                        errmsg = _("Node device not found");
-                else
-                        errmsg = _("Node device not found: %s");
-                break;
+            if (info == NULL)
+                    errmsg = _("Node device not found");
+            else
+                    errmsg = _("Node device not found: %s");
+            break;
     }
     return (errmsg);
 }