(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;
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;
}
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;
}
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;
}
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;
}
}
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;
}
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;
}