Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
src/access/viraccessdriverpolkit.c | 2 +-
src/access/viraccessmanager.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/access/viraccessdriverpolkit.c b/src/access/viraccessdriverpolkit.c
index 2473bd6258..c7ff81ee86 100644
--- a/src/access/viraccessdriverpolkit.c
+++ b/src/access/viraccessdriverpolkit.c
@@ -75,7 +75,7 @@ virAccessDriverPolkitGetCaller(const char *actionid,
if (!identity) {
virAccessError(VIR_ERR_ACCESS_DENIED,
- _("Policy kit denied action %s from
<anonymous>"),
+ _("Policy kit denied action %1$s from
<anonymous>"),
actionid);
return -1;
}
diff --git a/src/access/viraccessmanager.c b/src/access/viraccessmanager.c
index 6ce8a31f2f..481528c3b9 100644
--- a/src/access/viraccessmanager.c
+++ b/src/access/viraccessmanager.c
@@ -141,7 +141,7 @@ virAccessManager *virAccessManagerNew(const char *name)
if (!(drv = virAccessManagerFindDriver(name))) {
virReportError(VIR_ERR_INTERNAL_ERROR,
- _("Cannot find security driver '%s'"),
+ _("Cannot find security driver '%1$s'"),
name);
return NULL;
}
@@ -207,7 +207,7 @@ virAccessManagerSanitizeError(int ret,
if (ret < 0) {
virResetLastError();
virAccessError(VIR_ERR_ACCESS_DENIED,
- _("'%s' denied access"), driverName);
+ _("'%1$s' denied access"), driverName);
}
return ret;
--
2.39.2