]> Git Repo - qemu.git/commitdiff
Fix typo when using TARGET_FMT_plx and LSI_DEBUG (Ryan Harper)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 20 Nov 2008 16:46:21 +0000 (16:46 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 20 Nov 2008 16:46:21 +0000 (16:46 +0000)
TARGET_FMT_plx includes a % for you.  This fixes the following warning when
compiling with LSI_DEBUG enabled.

Signed-off-by: Ryan Harper <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5760 c046a42c-6fe2-441c-8c8c-71466251a162

hw/lsi53c895a.c

index b372e1019ed065cf04f7f751af321f1356e3cd15..8f8ffd7a378d4150fedaa34085ea2cb9d70e05f7 100644 (file)
@@ -482,7 +482,7 @@ static void lsi_do_dma(LSIState *s, int out)
     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;
This page took 0.028001 seconds and 4 git commands to generate.