mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
tests: Use correct function name in error path
Commit id 5eb61e6846 neglected to change the name in the wrong value output to virCgroupGetPercpuStats from virCgroupGetMemoryUsage. Signed-off-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
879fde3272
commit
4608af30f9
@ -756,7 +756,7 @@ static int testCgroupGetPercpuStats(const void *args ATTRIBUTE_UNUSED)
|
|||||||
|
|
||||||
if (params[i].value.ul != expected[i]) {
|
if (params[i].value.ul != expected[i]) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Wrong value from virCgroupGetMemoryUsage at %zu (expected %llu)\n",
|
"Wrong value from virCgroupGetPercpuStats at %zu (expected %llu)\n",
|
||||||
i, params[i].value.ul);
|
i, params[i].value.ul);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user