]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: Use correct function name in error path
authorJohn Ferlan <jferlan@redhat.com>
Wed, 7 Nov 2018 23:18:42 +0000 (18:18 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 7 Nov 2018 23:18:42 +0000 (18:18 -0500)
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>
tests/vircgrouptest.c

index 8fcee21bb2f1191bce46c685fee6cbb27bacb433..310e1fb6a21cf5043732a36bc2a9a34c316eb2bb 100644 (file)
@@ -756,7 +756,7 @@ static int testCgroupGetPercpuStats(const void *args ATTRIBUTE_UNUSED)
 
         if (params[i].value.ul != expected[i]) {
             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);
             goto cleanup;
         }