]> git.proxmox.com Git - mirror_qemu.git/blobdiff - monitor/misc.c
monitor: Use GString instead of QString for output buffer
[mirror_qemu.git] / monitor / misc.c
index 33d0dae2e8f915a9c6f3558561a2758e2beb9b11..10444b4e7a99635c76645cb78a5e486afad75883 100644 (file)
@@ -136,7 +136,7 @@ char *qmp_human_monitor_command(const char *command_line, bool has_cpu_index,
     handle_hmp_command(&hmp, command_line);
 
     WITH_QEMU_LOCK_GUARD(&hmp.common.mon_lock) {
-        output = g_strdup(qstring_get_str(hmp.common.outbuf));
+        output = g_strdup(hmp.common.outbuf->str);
     }
 
 out: