]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: qemuschema: Fix copy-paste error in function name
authorPeter Krempa <pkrempa@redhat.com>
Thu, 12 Jul 2018 11:19:33 +0000 (13:19 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 13 Jul 2018 12:15:59 +0000 (14:15 +0200)
s/testQEMUSchemaValidateArrayBuiltin/testQEMUSchemaValidateBuiltin/

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
tests/testutilsqemuschema.c

index 1cec5265e1d2846d37895afc155e910d61a66cf9..fb22803a228960da339c332ed4e71ae0de03b064 100644 (file)
@@ -28,9 +28,9 @@ testQEMUSchemaValidateRecurse(virJSONValuePtr obj,
                               virBufferPtr debug);
 
 static int
-testQEMUSchemaValidateArrayBuiltin(virJSONValuePtr obj,
-                                   virJSONValuePtr root,
-                                   virBufferPtr debug)
+testQEMUSchemaValidateBuiltin(virJSONValuePtr obj,
+                              virJSONValuePtr root,
+                              virBufferPtr debug)
 {
     const char *t = virJSONValueObjectGetString(root, "json-type");
     const char *s = NULL;
@@ -476,7 +476,7 @@ testQEMUSchemaValidateRecurse(virJSONValuePtr obj,
     const char *t = virJSONValueObjectGetString(root, "meta-type");
 
     if (STREQ_NULLABLE(t, "builtin")) {
-        return testQEMUSchemaValidateArrayBuiltin(obj, root, debug);
+        return testQEMUSchemaValidateBuiltin(obj, root, debug);
     } else if (STREQ_NULLABLE(t, "object")) {
         return testQEMUSchemaValidateObject(obj, root, schema, debug);
     } else if (STREQ_NULLABLE(t, "enum")) {