mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
access: Update format strings in translated messages
Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
d317d1d217
commit
a1f8154b3d
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user