From 51693297d7c5cb4bd2a02b837d859c99bfb2d08f Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Tue, 6 Oct 2009 12:17:00 +0100 Subject: 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 --- qemu-config.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'qemu-config.c') diff --git a/qemu-config.c b/qemu-config.c index 2e396aef7..f5c1a1225 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; -- cgit v1.2.3