summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-21 03:17:16 +0000
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-21 03:17:16 +0000
commit5c82587a1ea8c452f518ff70d08a4cdb60ddb051 (patch)
tree60cc594891b70ddbffa2a18c05817c6111bdbc19 /src
parentde39cb772496a97f103583a9c23403269df8f0aa (diff)
downloadopenocd_libswd-5c82587a1ea8c452f518ff70d08a4cdb60ddb051.tar.gz
openocd_libswd-5c82587a1ea8c452f518ff70d08a4cdb60ddb051.tar.bz2
openocd_libswd-5c82587a1ea8c452f518ff70d08a4cdb60ddb051.tar.xz
openocd_libswd-5c82587a1ea8c452f518ff70d08a4cdb60ddb051.zip
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2322 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/target/mips32_pracc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/mips32_pracc.c b/src/target/mips32_pracc.c
index 59a9fb02..61a0ae54 100644
--- a/src/target/mips32_pracc.c
+++ b/src/target/mips32_pracc.c
@@ -143,7 +143,7 @@ static int mips32_pracc_exec_read(mips32_pracc_context *ctx, uint32_t address)
* to start of debug vector */
data = 0;
- LOG_ERROR("Error reading unexpected address %8.8x", address);
+ LOG_ERROR("Error reading unexpected address %8.8" PRIx32 "", address);
return ERROR_JTAG_DEVICE_ERROR;
}
@@ -200,7 +200,7 @@ static int mips32_pracc_exec_write(mips32_pracc_context *ctx, uint32_t address)
}
else
{
- LOG_ERROR("Error writing unexpected address %8.8x", address);
+ LOG_ERROR("Error writing unexpected address %8.8" PRIx32 "", address);
return ERROR_JTAG_DEVICE_ERROR;
}