From: aliguori Date: Thu, 20 Nov 2008 16:46:21 +0000 (+0000) Subject: Fix typo when using TARGET_FMT_plx and LSI_DEBUG (Ryan Harper) X-Git-Url: https://repo.jachan.dev/qemu.git/commitdiff_plain/3adae656c7da952ee9090878169b430ba69c9a8e 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 Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5760 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index b372e1019e..8f8ffd7a37 100644 --- a/hw/lsi53c895a.c +++ b/hw/lsi53c895a.c @@ -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;