From patchwork Tue Apr 15 03:19:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Crosthwaite X-Patchwork-Id: 339143 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 904E0140087 for ; Tue, 15 Apr 2014 13:20:56 +1000 (EST) Received: from localhost ([::1]:46764 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZtva-0003Lk-87 for incoming@patchwork.ozlabs.org; Mon, 14 Apr 2014 23:20:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZtut-0001Dh-8V for qemu-devel@nongnu.org; Mon, 14 Apr 2014 23:20:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WZtun-0005WV-2S for qemu-devel@nongnu.org; Mon, 14 Apr 2014 23:20:11 -0400 Received: from mail-qg0-f52.google.com ([209.85.192.52]:57951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZtum-0005VP-Nj for qemu-devel@nongnu.org; Mon, 14 Apr 2014 23:20:04 -0400 Received: by mail-qg0-f52.google.com with SMTP id q107so9136898qgd.39 for ; Mon, 14 Apr 2014 20:20:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=yTZGAjJd7txyy1WjVYzmL1Q52sW/dTFWCUf68fYN77s=; b=ggLXlLKc8ir25g3/mwsm5t3t/57iJyrUnOgqlvizyhZenGiZQDoa8Ce7mpMntqKw6o Z+3GBUAYDMaoeCQXrUQp47VqrsyhvJd2Kh335IMIxn5H2Mu8PNkMwOOpmrbckwPIt/lC gwvzR1/eKm0RFnkbDnk1TE/3F46QWAtNqjespOlO3iYE2RW2OW9Xbva4/8NJGf4q+sYv ex4qB6uL/ZJK4gVgK4o5puRbzdV7OGu/FOsI/K4leUkj74FAR6yPTW//1QK5ncdEjKpH qsRH9823uxipcN2mvutdv172lAxeTFhrTj7TLnM6Eu1QtwYjLPbXbAPF57/dztospmjJ nXfQ== X-Gm-Message-State: ALoCoQnnpemBAeACdtmtU2lrXor/FKbRCnGebfX2lIVBoWZJekLrP3qS3LzfFGt+0lUypZGdeLN/ X-Received: by 10.140.81.227 with SMTP id f90mr7428833qgd.110.1397532004402; Mon, 14 Apr 2014 20:20:04 -0700 (PDT) Received: from localhost ([149.199.62.254]) by mx.google.com with ESMTPSA id w2sm35017246qar.21.2014.04.14.20.20.02 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 14 Apr 2014 20:20:03 -0700 (PDT) From: Peter Crosthwaite To: qemu-devel@nongnu.org Date: Mon, 14 Apr 2014 20:19:31 -0700 Message-Id: <75df6caebd221858d1e15941ccc599b7b5f79cf6.1397531631.git.peter.crosthwaite@xilinx.com> X-Mailer: git-send-email 1.9.2.1.g06c4abd In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.192.52 Cc: b.galvani@gmail.com, peter.maydell@linaro.org, armbru@redhat.com, dslutz@verizon.com Subject: [Qemu-devel] [PATCH v4 3/4] ssi: pl022: Send debug info to stderr X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org To disentangle it from the monitor. Signed-off-by: Peter Crosthwaite Reviewed-by: Beniamino Galvani --- hw/ssi/pl022.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ssi/pl022.c b/hw/ssi/pl022.c index fd479ef..84bf87a 100644 --- a/hw/ssi/pl022.c +++ b/hw/ssi/pl022.c @@ -14,7 +14,7 @@ #ifdef DEBUG_PL022 #define DPRINTF(fmt, ...) \ -do { printf("pl022: " fmt , ## __VA_ARGS__); } while (0) +do { fprintf(stderr, "pl022: " fmt , ## __VA_ARGS__); } while (0) #define BADF(fmt, ...) \ do { fprintf(stderr, "pl022: error: " fmt , ## __VA_ARGS__); exit(1);} while (0) #else