From db4daee44ff258730bc72621f45b28ee46e7a073 Mon Sep 17 00:00:00 2001 From: duane Date: Sun, 21 Jun 2009 03:20:12 +0000 Subject: C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2333 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/flash/davinci_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/flash') 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; } -- cgit v1.2.3