提交 e5e8406e 编写于 作者: C Cédric Bosdonnat

Fix syntax-check: missing "%s"

上级 0aedcbd3
...@@ -817,7 +817,7 @@ static bool ...@@ -817,7 +817,7 @@ static bool
virFileNBDLoadDriver(void) virFileNBDLoadDriver(void)
{ {
if (virKModIsBlacklisted(NBD_DRIVER)) { if (virKModIsBlacklisted(NBD_DRIVER)) {
virReportError(VIR_ERR_INTERNAL_ERROR, virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
_("Failed to load nbd module: " _("Failed to load nbd module: "
"administratively prohibited")); "administratively prohibited"));
return false; return false;
...@@ -826,7 +826,7 @@ virFileNBDLoadDriver(void) ...@@ -826,7 +826,7 @@ virFileNBDLoadDriver(void)
if ((errbuf = virKModLoad(NBD_DRIVER, true))) { if ((errbuf = virKModLoad(NBD_DRIVER, true))) {
VIR_FREE(errbuf); VIR_FREE(errbuf);
virReportError(VIR_ERR_INTERNAL_ERROR, virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
_("Failed to load nbd module")); _("Failed to load nbd module"));
return false; return false;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册