mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 04:41:20 +00:00
vircgroupv2devices: Fix format string for size_t variable
In virCgroupV2DevicesReallocMap() we are debug printing both arguments passed to the function. However, the @size argument is type of size_t but '%lu' is used to format it. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
2de5e131b9
commit
c10b78370d
@ -456,7 +456,7 @@ virCgroupV2DevicesReallocMap(int mapfd,
|
||||
int ret = -1;
|
||||
VIR_AUTOCLOSE newmapfd = virCgroupV2DevicesCreateMap(size);
|
||||
|
||||
VIR_DEBUG("realloc devices map mapfd:%d, size:%lu", mapfd, size);
|
||||
VIR_DEBUG("realloc devices map mapfd:%d, size:%zu", mapfd, size);
|
||||
|
||||
if (newmapfd < 0)
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user