diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-10-06 12:17:00 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-06 14:36:11 -0500 |
commit | 51693297d7c5cb4bd2a02b837d859c99bfb2d08f (patch) | |
tree | 0f9c4a01b3ee9595f2f3b7655053768fc5f2edc6 | |
parent | a676968b7f71d8d94d4e083fadb9661f37846d0a (diff) | |
download | hqemu-51693297d7c5cb4bd2a02b837d859c99bfb2d08f.zip hqemu-51693297d7c5cb4bd2a02b837d859c99bfb2d08f.tar.gz |
Remove double error message in qemu_option_set()
qemu_opt_set() prints an error message in all failure cases, so
qemu_set_option() doesn't need to print another error.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r-- | qemu-config.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/qemu-config.c b/qemu-config.c index 2e396ae..f5c1a12 100644 --- a/qemu-config.c +++ b/qemu-config.c @@ -209,8 +209,6 @@ int qemu_set_option(const char *str) } if (qemu_opt_set(opts, arg, str+offset+1) == -1) { - qemu_error("failed to set \"%s\" for %s \"%s\"\n", - arg, lists[i]->name, id); return -1; } return 0; |