]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
maint: fix minor issues in virterror public header
authorEric Blake <eblake@redhat.com>
Wed, 5 Oct 2011 18:28:46 +0000 (12:28 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 5 Oct 2011 18:33:59 +0000 (12:33 -0600)
Consistent use of tabs, fewer long lines, and a typo fix.

* include/libvirt/virterror.h: Fix typos, layout.

include/libvirt/virterror.h

index 0c98014b1e5a023ac1e5875fa030f80d0d6fdbb8..dfbe2bcebc4f7dc490ab92686b6ad0d6ae570698 100644 (file)
@@ -66,7 +66,8 @@ typedef enum {
     VIR_FROM_SECURITY = 24,    /* Error from security framework */
     VIR_FROM_VBOX = 25,                /* Error from VirtualBox driver */
     VIR_FROM_INTERFACE = 26,   /* Error when operating on an interface */
-    VIR_FROM_ONE = 27,         /* The OpenNebula driver no longer exists. Retained for ABI/API compat only */
+    VIR_FROM_ONE = 27,         /* The OpenNebula driver no longer exists.
+                                   Retained for ABI/API compat only */
     VIR_FROM_ESX = 28,         /* Error from ESX driver */
     VIR_FROM_PHYP = 29,                /* Error from IBM power hypervisor */
     VIR_FROM_SECRET = 30,      /* Error from secret storage */
@@ -79,10 +80,10 @@ typedef enum {
     VIR_FROM_SYSINFO = 37,     /* Error from sysinfo/SMBIOS */
     VIR_FROM_STREAMS = 38,     /* Error from I/O streams */
     VIR_FROM_VMWARE = 39,      /* Error from VMware driver */
-    VIR_FROM_EVENT = 40,       /* Error from event loop impl */
+    VIR_FROM_EVENT = 40,       /* Error from event loop impl */
     VIR_FROM_LIBXL = 41,       /* Error from libxenlight driver */
-    VIR_FROM_LOCKING = 42,      /* Error from lock manager */
-    VIR_FROM_HYPERV = 43,       /* Error from Hyper-V driver */
+    VIR_FROM_LOCKING = 42,     /* Error from lock manager */
+    VIR_FROM_HYPERV = 43,      /* Error from Hyper-V driver */
 } virErrorDomain;
 
 
@@ -232,12 +233,12 @@ typedef enum {
     VIR_ERR_HOOK_SCRIPT_FAILED = 70,   /* a synchronous hook script failed */
     VIR_ERR_INVALID_DOMAIN_SNAPSHOT = 71,/* invalid domain snapshot */
     VIR_ERR_NO_DOMAIN_SNAPSHOT = 72,   /* domain snapshot not found */
-    VIR_ERR_INVALID_STREAM = 73,        /* stream pointer not valid */
-    VIR_ERR_ARGUMENT_UNSUPPORTED = 74,  /* valid API use but unsupported by
+    VIR_ERR_INVALID_STREAM = 73,       /* stream pointer not valid */
+    VIR_ERR_ARGUMENT_UNSUPPORTED = 74, /* valid API use but unsupported by
                                            the given driver */
-    VIR_ERR_STORAGE_PROBE_FAILED = 75,  /* storage pool proble failed */
-    VIR_ERR_STORAGE_POOL_BUILT = 76,    /* storage pool already built */
-    VIR_ERR_SNAPSHOT_REVERT_RISKY = 77, /* force was not requested for a
+    VIR_ERR_STORAGE_PROBE_FAILED = 75, /* storage pool probe failed */
+    VIR_ERR_STORAGE_POOL_BUILT = 76,   /* storage pool already built */
+    VIR_ERR_SNAPSHOT_REVERT_RISKY = 77,        /* force was not requested for a
                                            risky domain snapshot revert */
 } virErrorNumber;