summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-21 03:20:12 +0000
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-21 03:20:12 +0000
commitdb4daee44ff258730bc72621f45b28ee46e7a073 (patch)
treedd211d3aaf1ee3913acf1ac174eed1b79d048767
parentcbc3543247bc6329980d9d6e785b761bd0be0015 (diff)
downloadopenocd+libswd-db4daee44ff258730bc72621f45b28ee46e7a073.tar.gz
openocd+libswd-db4daee44ff258730bc72621f45b28ee46e7a073.tar.bz2
openocd+libswd-db4daee44ff258730bc72621f45b28ee46e7a073.tar.xz
openocd+libswd-db4daee44ff258730bc72621f45b28ee46e7a073.zip
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2333 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/flash/davinci_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/davinci_nand.c b/src/flash/davinci_nand.c
index 45970ed4..8d2d7e97 100644
--- a/src/flash/davinci_nand.c
+++ b/src/flash/davinci_nand.c
@@ -94,7 +94,7 @@ static int davinci_init(struct nand_device_s *nand)
*/
target_read_u32(target, info->aemif + NANDFCR, &nandfcr);
if (!(nandfcr & (1 << info->chipsel))) {
- LOG_ERROR("chip address %08x not NAND-enabled?", info->data);
+ LOG_ERROR("chip address %08" PRIx32 " not NAND-enabled?", info->data);
return ERROR_NAND_OPERATION_FAILED;
}