From 1ebdad03cee5cafeb0c7d6991d3936426b246090 Mon Sep 17 00:00:00 2001 Message-Id: <1ebdad03cee5cafeb0c7d6991d3936426b246090.1383922566.git.jdenemar@redhat.com> From: Peter Krempa Date: Fri, 8 Nov 2013 12:33:27 +0100 Subject: [PATCH] cpu: x86: Clean up error messages in x86VendorLoad() https://bugzilla.redhat.com/show_bug.cgi?id=1008989 Avoid a line exceeding 80 characters and change argument alignment in two error messages. (cherry picked from commit f2eca83cb66c0f930acf48fd5db6c864d5bb3ba9) Signed-off-by: Jiri Denemark --- 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 610f028..9653160 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.4.2