summaryrefslogtreecommitdiff
path: root/src/lib/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/thread.c')
-rw-r--r--src/lib/thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/thread.c b/src/lib/thread.c
index dc83df0668..a0d43118a8 100644
--- a/src/lib/thread.c
+++ b/src/lib/thread.c
@@ -400,7 +400,7 @@ enum cb_err thread_join(struct thread_handle *handle)
while (handle->state != THREAD_DONE)
assert(thread_yield() == 0);
- printk(BIOS_SPEW, "took %lu us\n", stopwatch_duration_usecs(&sw));
+ printk(BIOS_SPEW, "took %lld us\n", stopwatch_duration_usecs(&sw));
return handle->error;
}
@@ -415,7 +415,7 @@ void thread_mutex_lock(struct thread_mutex *mutex)
assert(thread_yield() == 0);
mutex->locked = true;
- printk(BIOS_SPEW, "took %lu us to acquire mutex\n", stopwatch_duration_usecs(&sw));
+ printk(BIOS_SPEW, "took %lld us to acquire mutex\n", stopwatch_duration_usecs(&sw));
}
void thread_mutex_unlock(struct thread_mutex *mutex)