mirror of https://gitee.com/openkylin/libvirt.git
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