diff options
author | Markus Armbruster <armbru@redhat.com> | 2010-01-29 10:34:00 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-02-03 12:39:01 -0600 |
commit | cc0c4185e54867ef93c4b4dc0a8f3ecbc20ece42 (patch) | |
tree | 511ab35543d7653fa06b58c858d51b8f1a675573 /monitor.c | |
parent | c6027f56dc547b5028f0b560bcf4671b6e2a765d (diff) | |
download | qemu-cc0c4185e54867ef93c4b4dc0a8f3ecbc20ece42.zip qemu-cc0c4185e54867ef93c4b4dc0a8f3ecbc20ece42.tar.gz qemu-cc0c4185e54867ef93c4b4dc0a8f3ecbc20ece42.tar.bz2 |
monitor: Use QERR_INVALID_PARAMETER instead of QERR_INVALID_CPU_INDEX
This changes the error message from "Invalid CPU index" to "Invalid
parameter index" in the human monitor.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
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) |