diff options
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -907,7 +907,7 @@ static void do_cpu_set(Monitor *mon, const QDict *qdict, QObject **ret_data) { int index = qdict_get_int(qdict, "index"); if (mon_set_cpu(index) < 0) - qemu_error_new(QERR_INVALID_CPU_INDEX); + qemu_error_new(QERR_INVALID_PARAMETER, "index"); } static void do_info_jit(Monitor *mon) |