提交 f2eca83c 编写于 作者: P Peter Krempa

cpu: x86: Clean up error messages in x86VendorLoad()

Avoid a line exceeding 80 characters and change argument alignment in
two error messages.
上级 6355e263
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册