From: Peter Krempa Date: Thu, 12 Jul 2018 11:19:33 +0000 (+0200) Subject: tests: qemuschema: Fix copy-paste error in function name X-Git-Tag: v4.6.0-rc1~247 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d682f90891b991d4204bb5e5091edb0fc56a6e68;p=thirdparty%2Flibvirt.git tests: qemuschema: Fix copy-paste error in function name s/testQEMUSchemaValidateArrayBuiltin/testQEMUSchemaValidateBuiltin/ Signed-off-by: Peter Krempa --- diff --git a/tests/testutilsqemuschema.c b/tests/testutilsqemuschema.c index 1cec5265e1..fb22803a22 100644 --- a/tests/testutilsqemuschema.c +++ b/tests/testutilsqemuschema.c @@ -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")) {