]> Git Repo - qemu.git/blobdiff - vl.c
qapi: Swap visit_* arguments for consistent 'name' placement
[qemu.git] / vl.c
diff --git a/vl.c b/vl.c
index 300a6094798b0ab0f9555ff8c445aead003bb34d..4379beccf7c9bbbf1d6d61479e378e0bc1975041 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -2837,7 +2837,7 @@ static int object_create(void *opaque, QemuOpts *opts, Error **errp)
     }
 
     qdict_del(pdict, "qom-type");
-    visit_type_str(v, &type, "qom-type", &err);
+    visit_type_str(v, "qom-type", &type, &err);
     if (err) {
         goto out;
     }
@@ -2847,7 +2847,7 @@ static int object_create(void *opaque, QemuOpts *opts, Error **errp)
     }
 
     qdict_del(pdict, "id");
-    visit_type_str(v, &id, "id", &err);
+    visit_type_str(v, "id", &id, &err);
     if (err) {
         goto out_end;
     }
This page took 0.024123 seconds and 4 git commands to generate.