mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
build: print uids as unsigned
Reported by Michal Privoznik. * src/security/security_dac.c (virSecurityDACGenLabel): Use correct format.
This commit is contained in:
parent
9b704ab823
commit
add633bdf9
@ -921,7 +921,7 @@ virSecurityDACGenLabel(virSecurityManagerPtr mgr,
|
||||
}
|
||||
break;
|
||||
case VIR_DOMAIN_SECLABEL_DYNAMIC:
|
||||
if (virAsprintf(&seclabel->label, "%d:%d",
|
||||
if (virAsprintf(&seclabel->label, "%u:%u",
|
||||
(unsigned int) priv->user,
|
||||
(unsigned int) priv->group) < 0) {
|
||||
virReportOOMError();
|
||||
|
Loading…
x
Reference in New Issue
Block a user