[libvirt] [PATCH] tests: Use correct function name in error path

John Ferlan posted 1 patch 7 years, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20181107232401.7811-1-jferlan@redhat.com
Test syntax-check passed
tests/vircgrouptest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt] [PATCH] tests: Use correct function name in error path
Posted by John Ferlan 7 years, 3 months ago
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>
---

 Pushed under the trivial rule.

 tests/vircgrouptest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/vircgrouptest.c b/tests/vircgrouptest.c
index 8fcee21bb2..310e1fb6a2 100644
--- a/tests/vircgrouptest.c
+++ b/tests/vircgrouptest.c
@@ -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;
         }
-- 
2.17.2

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list