qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Anthony Liguori
Subject: [Qemu-devel] [5760] Fix typo when using TARGET_FMT_plx and LSI_DEBUG (Ryan Harper)
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 <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

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;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]