diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/qemu-option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/qemu-option.c b/util/qemu-option.c index 840f5f7a5b..69da28c7e1 100644 --- a/util/qemu-option.c +++ b/util/qemu-option.c @@ -927,7 +927,7 @@ static void qemu_opts_from_qdict_1(const char *key, QObject *obj, void *opaque) break; case QTYPE_QBOOL: pstrcpy(buf, sizeof(buf), - qbool_get_int(qobject_to_qbool(obj)) ? "on" : "off"); + qbool_get_bool(qobject_to_qbool(obj)) ? "on" : "off"); value = buf; break; default: |