mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
cpu: x86: Clean up error messages in x86VendorLoad()
Avoid a line exceeding 80 characters and change argument alignment in two error messages.
This commit is contained in:
parent
6355e2630c
commit
f2eca83cb6
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user