qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5760] Fix typo when using TARGET_FMT_plx and LSI_DEBUG (Ryan Harper)
@ 2008-11-20 16:46 Anthony Liguori
  0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2008-11-20 16:46 UTC (permalink / raw)
  To: qemu-devel

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@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-20 16:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20 16:46 [Qemu-devel] [5760] Fix typo when using TARGET_FMT_plx and LSI_DEBUG (Ryan Harper) Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).