qemu-devel@nongnu.org
[Top] [All Lists]

[Qemu-devel] [5760] Fix typo when using TARGET_FMT_plx and LSI_DEBUG (Ry

Subject: [Qemu-devel] [5760] Fix typo when using TARGET_FMT_plx and LSI_DEBUG Ryan Harper
From: Anthony Liguori
Date: Thu, 20 Nov 2008 16:46:22 +0000
Revision: 5760
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5760
Author:   aliguori
Date:     2008-11-20 16:46:21 +0000 (Thu, 20 Nov 2008)

Log Message:
-----------
Fix typo when using TARGET_FMT_plx and LSI_DEBUG (Ryan Harper)

TARGET_FMT_plx includes a % for you.  This fixes the following warning when
compiling with LSI_DEBUG enabled.

Signed-off-by: Ryan Harper <ryanh@xxxxxxxxxx>
Signed-off-by: Anthony Liguori <aliguori@xxxxxxxxxx>

Modified Paths:
--------------
    trunk/hw/lsi53c895a.c

Modified: trunk/hw/lsi53c895a.c
===================================================================
--- trunk/hw/lsi53c895a.c       2008-11-20 06:41:29 UTC (rev 5759)
+++ trunk/hw/lsi53c895a.c       2008-11-20 16:46:21 UTC (rev 5760)
@@ -482,7 +482,7 @@
     else if (s->sbms)
         addr |= ((uint64_t)s->sbms << 32);
 
-    DPRINTF("DMA addr=0x%" TARGET_FMT_plx " len=%d\n", addr, count);
+    DPRINTF("DMA addr=0x" TARGET_FMT_plx " len=%d\n", addr, count);
     s->csbc += count;
     s->dnad += count;
     s->dbc -= count;




<Prev in Thread] Current Thread [Next in Thread>
  • [Qemu-devel] [5760] Fix typo when using TARGET_FMT_plx and LSI_DEBUG (Ryan Harper), Anthony Liguori <=