Received: from eggs.gnu.org ([2001:4830:134:3::10]:43461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsZhZ-0004a3-SG for qemu-devel@nongnu.org; Fri, 28 Jun 2013 10:31:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsZcS-0004Bb-GX for qemu-devel@nongnu.org; Fri, 28 Jun 2013 10:25:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsZcS-0004Au-1y for qemu-devel@nongnu.org; Fri, 28 Jun 2013 10:25:48 -0400 From: Kevin Wolf Date: Fri, 28 Jun 2013 16:25:09 +0200 Message-Id: <1372429509-29642-21-git-send-email-kwolf@redhat.com> In-Reply-To: <1372429509-29642-1-git-send-email-kwolf@redhat.com> References: <1372429509-29642-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PULL 20/20] cmd646: fix build when DEBUG_IDE is enabled. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: anthony@codemonkey.ws Cc: kwolf@redhat.com, qemu-devel@nongnu.org From: Mark Cave-Ayland Make sure we use the correct TARGET/PRI macros in the debug statements. Signed-off-by: Mark Cave-Ayland CC: Kevin Wolf Signed-off-by: Kevin Wolf --- hw/ide/cmd646.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c index a73eb9a..9916701 100644 --- a/hw/ide/cmd646.c +++ b/hw/ide/cmd646.c @@ -154,7 +154,7 @@ static uint64_t bmdma_read(void *opaque, hwaddr addr, break; } #ifdef DEBUG_IDE - printf("bmdma: readb 0x%02x : 0x%02x\n", addr, val); + printf("bmdma: readb " TARGET_FMT_plx " : 0x%02x\n", addr, val); #endif return val; } @@ -170,7 +170,7 @@ static void bmdma_write(void *opaque, hwaddr addr, } #ifdef DEBUG_IDE - printf("bmdma: writeb 0x%02x : 0x%02x\n", addr, val); + printf("bmdma: writeb " TARGET_FMT_plx " : 0x%" PRIx64 "\n", addr, val); #endif switch(addr & 3) { case 0: -- 1.8.1.4