diff options
author | Paul Fertser <fercerpav@gmail.com> | 2015-04-20 12:02:48 +0300 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2015-04-24 14:46:19 +0100 |
commit | 0d50dfe31840ddd282aa2ca7507c45f607284fc6 (patch) | |
tree | 33d5f692e0901fcf21da5bf8c1a3d2c8ec419556 /src/rtos/rtos.c | |
parent | 2d4ae3f4c881696c60f2eb1d1c3b4b6a9577bbd6 (diff) | |
download | riscv-openocd-0d50dfe31840ddd282aa2ca7507c45f607284fc6.zip riscv-openocd-0d50dfe31840ddd282aa2ca7507c45f607284fc6.tar.gz riscv-openocd-0d50dfe31840ddd282aa2ca7507c45f607284fc6.tar.bz2 |
rtos: fix print format specifiers
Exposed by arm-none-eabi build.
Change-Id: I657c642249aa83403f93132d1e28713aee692c30
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2724
Tested-by: jenkins
Diffstat (limited to 'src/rtos/rtos.c')
-rw-r--r-- | src/rtos/rtos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtos/rtos.c b/src/rtos/rtos.c index 9451703..3420d06 100644 --- a/src/rtos/rtos.c +++ b/src/rtos/rtos.c @@ -473,7 +473,7 @@ int rtos_generic_stack_read(struct target *target, LOG_ERROR("Error reading stack frame from thread"); return retval; } - LOG_DEBUG("RTOS: Read stack frame at 0x%x\r\n", address); + LOG_DEBUG("RTOS: Read stack frame at 0x%" PRIx32, address); #if 0 LOG_OUTPUT("Stack Data :"); |