From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uyemp-00032i-KY for qemu-devel@nongnu.org; Mon, 15 Jul 2013 05:09:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uyemo-0006UP-PR for qemu-devel@nongnu.org; Mon, 15 Jul 2013 05:09:39 -0400 Received: from mail-pb0-x22d.google.com ([2607:f8b0:400e:c01::22d]:52550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uyemo-0006UL-Io for qemu-devel@nongnu.org; Mon, 15 Jul 2013 05:09:38 -0400 Received: by mail-pb0-f45.google.com with SMTP id mc8so11045634pbc.32 for ; Mon, 15 Jul 2013 02:09:37 -0700 (PDT) Received: from localhost.localdomain ([114.247.222.194]) by mx.google.com with ESMTPSA id yj2sm59802027pbb.40.2013.07.15.02.09.35 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 15 Jul 2013 02:09:37 -0700 (PDT) From: Jia Liu Date: Mon, 15 Jul 2013 17:09:19 +0800 Message-Id: <1373879359-12803-3-git-send-email-proljc@gmail.com> In-Reply-To: <1373879359-12803-1-git-send-email-proljc@gmail.com> References: <1373879359-12803-1-git-send-email-proljc@gmail.com> Content-Type: text/plain; charset="utf-8" Subject: [Qemu-devel] [PATCH 2/2] hw/openrisc: Use stderr output instead of qemu_log List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Here should be stderr output instead of qemu_log. Signed-off-by: Jia Liu --- hw/openrisc/openrisc_sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/openrisc/openrisc_sim.c b/hw/openrisc/openrisc_sim.c index 924438b..26bff75 100644 --- a/hw/openrisc/openrisc_sim.c +++ b/hw/openrisc/openrisc_sim.c @@ -107,7 +107,7 @@ static void openrisc_sim_init(QEMUMachineInitArgs *args) for (n = 0; n < smp_cpus; n++) { cpu = cpu_openrisc_init(cpu_model); if (cpu == NULL) { - qemu_log("Unable to find CPU definition!\n"); + fprintf(stderr, "Unable to find CPU definition!\n"); exit(1); } qemu_register_reset(main_cpu_reset, cpu); -- 1.7.12.4 (Apple Git-37)