Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
src/admin/admin_server_dispatch.c | 10 +++++-----
src/admin/libvirt-admin.c | 6 +++---
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/admin/admin_server_dispatch.c b/src/admin/admin_server_dispatch.c
index b3e7be8965..ae8a8d4fa6 100644
--- a/src/admin/admin_server_dispatch.c
+++ b/src/admin/admin_server_dispatch.c
@@ -78,7 +78,7 @@ remoteAdmClientNew(virNetServerClient *client G_GNUC_UNUSED,
(long long)clientuid);
if (geteuid() != clientuid) {
- virReportRestrictedError(_("Disallowing client %lld with uid %lld"),
+ virReportRestrictedError(_("Disallowing client %1$lld with uid
%2$lld"),
(long long)clientpid,
(long long)clientuid);
return NULL;
@@ -258,7 +258,7 @@ adminDispatchServerSetThreadpoolParameters(virNetServer *server
G_GNUC_UNUSED,
if (!(srv = virNetDaemonGetServer(priv->dmn, args->srv.name))) {
virReportError(VIR_ERR_NO_SERVER,
- _("no server with matching name '%s' found"),
+ _("no server with matching name '%1$s' found"),
args->srv.name);
goto cleanup;
}
@@ -303,14 +303,14 @@ adminDispatchClientGetInfo(virNetServer *server G_GNUC_UNUSED,
if (!(srv = virNetDaemonGetServer(priv->dmn, args->clnt.srv.name))) {
virReportError(VIR_ERR_NO_SERVER,
- _("no server with matching name '%s' found"),
+ _("no server with matching name '%1$s' found"),
args->clnt.srv.name);
goto cleanup;
}
if (!(clnt = virNetServerGetClient(srv, args->clnt.id))) {
virReportError(VIR_ERR_NO_CLIENT,
- _("no client with matching id '%llu' found"),
+ _("no client with matching id '%1$llu' found"),
(unsigned long long) args->clnt.id);
goto cleanup;
}
@@ -390,7 +390,7 @@ adminDispatchServerSetClientLimits(virNetServer *server
G_GNUC_UNUSED,
if (!(srv = virNetDaemonGetServer(priv->dmn, args->srv.name))) {
virReportError(VIR_ERR_NO_SERVER,
- _("no server with matching name '%s' found"),
+ _("no server with matching name '%1$s' found"),
args->srv.name);
goto cleanup;
}
diff --git a/src/admin/libvirt-admin.c b/src/admin/libvirt-admin.c
index 1786a283e5..3c756eb376 100644
--- a/src/admin/libvirt-admin.c
+++ b/src/admin/libvirt-admin.c
@@ -116,7 +116,7 @@ getSocketPath(virURI *uri)
sock_path = g_strdup(param->value);
} else {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
- _("Unknown URI parameter '%s'"),
param->name);
+ _("Unknown URI parameter '%1$s'"),
param->name);
return NULL;
}
}
@@ -134,7 +134,7 @@ getSocketPath(virURI *uri)
legacy = true;
} else if (!STRPREFIX(uri->scheme, "virt")) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
- _("Unsupported URI scheme '%s'"),
+ _("Unsupported URI scheme '%1$s'"),
uri->scheme);
return NULL;
}
@@ -151,7 +151,7 @@ getSocketPath(virURI *uri)
sock_path = g_strdup_printf("%s/%s", rundir, sockbase);
} else {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
- _("Invalid URI path '%s', try
'/system'"),
+ _("Invalid URI path '%1$s', try
'/system'"),
NULLSTR_EMPTY(uri->path));
return NULL;
}
--
2.39.2