diff options
author | duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-21 03:17:23 +0000 |
---|---|---|
committer | duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-21 03:17:23 +0000 |
commit | 19a678834d4cf88e006318dfeda6f97333c13925 (patch) | |
tree | 633a58c5bd3de61c98a71b5f2f523bbdde8dabc6 /src | |
parent | 5c82587a1ea8c452f518ff70d08a4cdb60ddb051 (diff) |
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2323 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/target/mips_ejtag.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/mips_ejtag.c b/src/target/mips_ejtag.c index ad4b4af8..eebd5fb7 100644 --- a/src/target/mips_ejtag.c +++ b/src/target/mips_ejtag.c @@ -211,7 +211,7 @@ int mips_ejtag_enter_debug(mips_ejtag_t *ejtag_info) /* break bit will be cleared by hardware */ ejtag_ctrl = ejtag_info->ejtag_ctrl; mips_ejtag_drscan_32(ejtag_info, &ejtag_ctrl); - LOG_DEBUG("ejtag_ctrl: 0x%8.8x", ejtag_ctrl); + LOG_DEBUG("ejtag_ctrl: 0x%8.8" PRIx32 "", ejtag_ctrl); if((ejtag_ctrl & EJTAG_CTRL_BRKST) == 0) LOG_DEBUG("Failed to enter Debug Mode!"); @@ -261,7 +261,7 @@ int mips_ejtag_init(mips_ejtag_t *ejtag_info) uint32_t ejtag_version; mips_ejtag_get_impcode(ejtag_info, &ejtag_info->impcode); - LOG_DEBUG("impcode: 0x%8.8x", ejtag_info->impcode); + LOG_DEBUG("impcode: 0x%8.8" PRIx32 "", ejtag_info->impcode); /* get ejtag version */ ejtag_version = ((ejtag_info->impcode >> 29) & 0x07); |