From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqP2v-0003nr-Np for qemu-devel@nongnu.org; Wed, 23 Sep 2009 06:26:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqP2i-0003h0-VC for qemu-devel@nongnu.org; Wed, 23 Sep 2009 06:25:53 -0400 Received: from [199.232.76.173] (port=37816 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqP2g-0003fq-NI for qemu-devel@nongnu.org; Wed, 23 Sep 2009 06:25:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37095) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MqP2f-0001VR-Se for qemu-devel@nongnu.org; Wed, 23 Sep 2009 06:25:46 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8NAPjYB020470 for ; Wed, 23 Sep 2009 06:25:45 -0400 From: Mark McLoughlin Date: Wed, 23 Sep 2009 11:24:07 +0100 Message-Id: <1253701463-3134-9-git-send-email-markmc@redhat.com> In-Reply-To: <1253701463-3134-1-git-send-email-markmc@redhat.com> References: <1253701463-3134-1-git-send-email-markmc@redhat.com> Subject: [Qemu-devel] [PATCH 08/24] Remove double error message in qemu_option_set() List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Mark McLoughlin 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 --- qemu-config.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/qemu-config.c b/qemu-config.c index 555c7ba..31e7d61 100644 --- a/qemu-config.c +++ b/qemu-config.c @@ -187,8 +187,6 @@ int qemu_set_option(const char *str) } if (qemu_opt_set(opts, arg, str+offset+1) == -1) { - fprintf(stderr, "failed to set \"%s\" for %s \"%s\"\n", - arg, lists[i]->name, id); return -1; } return 0; -- 1.6.2.5