From: Mark McLoughlin Date: Tue, 6 Oct 2009 11:17:00 +0000 (+0100) Subject: Remove double error message in qemu_option_set() X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1405^2~17^2~6607 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51693297d7c5cb4bd2a02b837d859c99bfb2d08f;p=sdk%2Femulator%2Fqemu.git 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 Signed-off-by: Anthony Liguori --- diff --git a/qemu-config.c b/qemu-config.c index 2e396aef7c..f5c1a12254 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;