From: duane Date: Sun, 21 Jun 2009 03:20:12 +0000 (+0000) Subject: C99 printf() -Werror fixes X-Git-Tag: v0.2.0~182 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=db4daee44ff258730bc72621f45b28ee46e7a073;p=openocd C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2333 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- 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; }