Skip to contentSkip to conversation

[5760] Fix typo when using TARGET_FMT_plx and LSI_DEBUG (Ryan Harper)

Qemu-devel Anthony Liguori 1 participant 1 message Nov 20, 2008

lore
Share & tools
lore
#0 lore raw

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.

Modified Paths:
--------------

    trunk/hw/lsi53c895a.c

Modified: trunk/hw/lsi53c895a.c
===================================================================

hw/lsi53c895a.c +1 -1
@@ -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;