summaryrefslogtreecommitdiffstats
path: root/hw/pxa2xx_dma.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-11 19:47:59 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-11 19:47:59 +0000
commit444ce24195b97d1b425cd250a731e3f5f4b4bbfa (patch)
tree0daca77b516ed9e33d01a47a48486bb6d25f0a8c /hw/pxa2xx_dma.c
parenta702b35388c307ce2364691e2edc14094701c81e (diff)
downloadhqemu-444ce24195b97d1b425cd250a731e3f5f4b4bbfa.zip
hqemu-444ce24195b97d1b425cd250a731e3f5f4b4bbfa.tar.gz
use correct printf format
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3611 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pxa2xx_dma.c')
-rw-r--r--hw/pxa2xx_dma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pxa2xx_dma.c b/hw/pxa2xx_dma.c
index 53bce2e..4c60ffd 100644
--- a/hw/pxa2xx_dma.c
+++ b/hw/pxa2xx_dma.c
@@ -303,7 +303,7 @@ static uint32_t pxa2xx_dma_read(void *opaque, target_phys_addr_t offset)
}
cpu_abort(cpu_single_env,
- "%s: Bad offset 0x%04lx\n", __FUNCTION__, offset);
+ "%s: Bad offset 0x" TARGET_FMT_plx "\n", __FUNCTION__, offset);
return 7;
}
@@ -401,7 +401,7 @@ static void pxa2xx_dma_write(void *opaque,
break;
}
fail:
- cpu_abort(cpu_single_env, "%s: Bad offset 0x%04lx\n",
+ cpu_abort(cpu_single_env, "%s: Bad offset " TARGET_FMT_plx "\n",
__FUNCTION__, offset);
}
}
OpenPOWER on IntegriCloud