aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2019-01-25 15:56:26 -0800
committerTim Newsome <tim@sifive.com>2019-01-25 15:56:26 -0800
commit220a97979fa0f4253325d482b287a90851d5b95c (patch)
tree5c932e99833d6638fec6bf8ee7a373792c109232
parente186f62962673a3bfdee151693521d46f2adcefb (diff)
downloadriscv-openocd-220a97979fa0f4253325d482b287a90851d5b95c.zip
riscv-openocd-220a97979fa0f4253325d482b287a90851d5b95c.tar.gz
riscv-openocd-220a97979fa0f4253325d482b287a90851d5b95c.tar.bz2
Use more compatible printf formatting.
Change-Id: I5d5b46f3e6c4f5abff1c0efa3ea8b4f589c1e635
-rw-r--r--src/rtos/hwthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtos/hwthread.c b/src/rtos/hwthread.c
index cb8fb20..8a271fb 100644
--- a/src/rtos/hwthread.c
+++ b/src/rtos/hwthread.c
@@ -360,7 +360,7 @@ static int hwthread_thread_packet(struct connection *connection, const char *pac
target->rtos->current_thread = threadid_from_target(target);
target->rtos->current_threadid = current_threadid;
- LOG_DEBUG("current_threadid=%ld", current_threadid);
+ LOG_DEBUG("current_threadid=%" PRId64, current_threadid);
gdb_put_packet(connection, "OK", 2);
return ERROR_OK;