Commit dfe39f68 authored by Marko Mäkelä's avatar Marko Mäkelä

rw_lock_debug_print(): Output the thread ID in unsigned format.

parent bfc70403
...@@ -888,7 +888,7 @@ rw_lock_debug_print( ...@@ -888,7 +888,7 @@ rw_lock_debug_print(
rwt = info->lock_type; rwt = info->lock_type;
fprintf(stderr, "Locked: thread %ld file %s line %ld ", fprintf(stderr, "Locked: thread %lu file %s line %lu ",
(ulong) os_thread_pf(info->thread_id), info->file_name, (ulong) os_thread_pf(info->thread_id), info->file_name,
(ulong) info->line); (ulong) info->line);
if (rwt == RW_LOCK_SHARED) { if (rwt == RW_LOCK_SHARED) {
......
...@@ -988,7 +988,7 @@ rw_lock_debug_print( ...@@ -988,7 +988,7 @@ rw_lock_debug_print(
rwt = info->lock_type; rwt = info->lock_type;
fprintf(stderr, "Locked: thread %ld file %s line %ld ", fprintf(stderr, "Locked: thread %lu file %s line %lu ",
(ulong) os_thread_pf(info->thread_id), info->file_name, (ulong) os_thread_pf(info->thread_id), info->file_name,
(ulong) info->line); (ulong) info->line);
if (rwt == RW_LOCK_SHARED) { if (rwt == RW_LOCK_SHARED) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment