summaryrefslogtreecommitdiff
path: root/src/target/arm_adi_v5.c
diff options
context:
space:
mode:
authorDaniel Bäder <openocd@eh-oh.de>2010-03-25 11:24:42 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-03-25 12:45:32 +0100
commit010492a1ede305d2375602afa26f50281fea3e2f (patch)
tree523e40e6201a6ab468ef4d7d2612a4f08f4633b8 /src/target/arm_adi_v5.c
parente736468b0e25f255db60cfd6cb2f6a2e470ba50e (diff)
downloadopenocd+libswd-010492a1ede305d2375602afa26f50281fea3e2f.tar.gz
openocd+libswd-010492a1ede305d2375602afa26f50281fea3e2f.tar.bz2
openocd+libswd-010492a1ede305d2375602afa26f50281fea3e2f.tar.xz
openocd+libswd-010492a1ede305d2375602afa26f50281fea3e2f.zip
change %x and %d to PRIx32 and PRId32 where needed for cygwin
Diffstat (limited to 'src/target/arm_adi_v5.c')
-rw-r--r--src/target/arm_adi_v5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c
index 1b97e334..8b18fa3c 100644
--- a/src/target/arm_adi_v5.c
+++ b/src/target/arm_adi_v5.c
@@ -967,7 +967,7 @@ int ahbap_debugport_init(struct adiv5_dap *dap)
retval = dap_queue_ap_read(dap, AP_REG_IDR, &idreg);
retval = dap_queue_ap_read(dap, AP_REG_BASE, &romaddr);
- LOG_DEBUG("MEM-AP #%d ID Register 0x%" PRIx32
+ LOG_DEBUG("MEM-AP #%" PRId32 " ID Register 0x%" PRIx32
", Debug ROM Address 0x%" PRIx32,
dap->apsel, idreg, romaddr);