From: Peter Krempa Date: Mon, 14 Oct 2013 09:28:17 +0000 (+0200) Subject: cpu: x86: Clean up error messages in x86VendorLoad() X-Git-Tag: CVE-2013-4401~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2eca83cb66c0f930acf48fd5db6c864d5bb3ba9;p=thirdparty%2Flibvirt.git cpu: x86: Clean up error messages in x86VendorLoad() Avoid a line exceeding 80 characters and change argument alignment in two error messages. --- diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c index 5e787fab99..8427555e09 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) {