diff options
author | Tim Newsome <tim@sifive.com> | 2019-01-25 15:56:26 -0800 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2019-01-25 15:56:26 -0800 |
commit | 220a97979fa0f4253325d482b287a90851d5b95c (patch) | |
tree | 5c932e99833d6638fec6bf8ee7a373792c109232 /src/rtos | |
parent | e186f62962673a3bfdee151693521d46f2adcefb (diff) | |
download | riscv-openocd-220a97979fa0f4253325d482b287a90851d5b95c.zip riscv-openocd-220a97979fa0f4253325d482b287a90851d5b95c.tar.gz riscv-openocd-220a97979fa0f4253325d482b287a90851d5b95c.tar.bz2 |
Use more compatible printf formatting.
Change-Id: I5d5b46f3e6c4f5abff1c0efa3ea8b4f589c1e635
Diffstat (limited to 'src/rtos')
-rw-r--r-- | src/rtos/hwthread.c | 2 |
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; |