aboutsummaryrefslogtreecommitdiff
path: root/tests/check-qnull.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check-qnull.c')
-rw-r--r--tests/check-qnull.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check-qnull.c b/tests/check-qnull.c
index 7a1cd94526..550c1e6807 100644
--- a/tests/check-qnull.c
+++ b/tests/check-qnull.c
@@ -47,7 +47,7 @@ static void qnull_visit_test(void)
g_assert(qnull_.refcnt == 1);
obj = qnull();
- v = qmp_input_visitor_new(obj, true);
+ v = qobject_input_visitor_new(obj, true);
qobject_decref(obj);
visit_type_null(v, NULL, &error_abort);
visit_free(v);