[PATCH] maint: fix minor issues in virterror public header

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

 



Consistent use of tabs, fewer long lines, and a typo fix.

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

Pushing under the trivial rule.

 include/libvirt/virterror.h |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/include/libvirt/virterror.h b/include/libvirt/virterror.h
index 0c98014..dfbe2bc 100644
--- a/include/libvirt/virterror.h
+++ b/include/libvirt/virterror.h
@@ -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;

-- 
1.7.4.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]