From e5e8406e9c03fb8bd2325085de698a01e8b398a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= Date: Thu, 30 Jul 2015 11:10:48 +0200 Subject: [PATCH] Fix syntax-check: missing "%s" --- src/util/virfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/virfile.c b/src/util/virfile.c index 76f1b7a249..5f64186bbe 100644 --- a/src/util/virfile.c +++ b/src/util/virfile.c @@ -817,7 +817,7 @@ static bool virFileNBDLoadDriver(void) { if (virKModIsBlacklisted(NBD_DRIVER)) { - virReportError(VIR_ERR_INTERNAL_ERROR, + virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("Failed to load nbd module: " "administratively prohibited")); return false; @@ -826,7 +826,7 @@ virFileNBDLoadDriver(void) if ((errbuf = virKModLoad(NBD_DRIVER, true))) { VIR_FREE(errbuf); - virReportError(VIR_ERR_INTERNAL_ERROR, + virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("Failed to load nbd module")); return false; } -- GitLab