mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +00:00
cgroup: Fix -Werror breakage
This commit is contained in:
parent
7b1fe89a5c
commit
f5c65fa192
@ -736,7 +736,7 @@ int virCgroupSetMemory(virCgroupPtr group, unsigned long kb)
|
||||
*/
|
||||
int virCgroupGetMemoryUsage(virCgroupPtr group, unsigned long *kb)
|
||||
{
|
||||
uint64_t usage_in_bytes;
|
||||
long long unsigned int usage_in_bytes;
|
||||
int ret;
|
||||
ret = virCgroupGetValueU64(group,
|
||||
VIR_CGROUP_CONTROLLER_MEMORY,
|
||||
|
Loading…
Reference in New Issue
Block a user