[PATCHv2 14/23] cpu: x86: Clean up error messages in x86VendorLoad()

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

 



Avoid a line exceeding 80 characters and change argument alignment in
two error messages.
---
 src/cpu/cpu_x86.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c
index 5e787fa..8427555 100644
--- a/src/cpu/cpu_x86.c
+++ b/src/cpu/cpu_x86.c
@@ -542,8 +542,8 @@ x86VendorLoad(xmlXPathContextPtr ctxt,

     vendor->name = virXPathString("string(@name)", ctxt);
     if (!vendor->name) {
-        virReportError(VIR_ERR_INTERNAL_ERROR,
-                       "%s", _("Missing CPU vendor name"));
+        virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
+                       _("Missing CPU vendor name"));
         goto ignore;
     }

@@ -556,7 +556,8 @@ x86VendorLoad(xmlXPathContextPtr ctxt,
     string = virXPathString("string(@string)", ctxt);
     if (!string) {
         virReportError(VIR_ERR_INTERNAL_ERROR,
-                       _("Missing vendor string for CPU vendor %s"), vendor->name);
+                       _("Missing vendor string for CPU vendor %s"),
+                       vendor->name);
         goto ignore;
     }
     if (strlen(string) != VENDOR_STRING_LENGTH) {
-- 
1.8.3.2

--
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]