diff options
Diffstat (limited to 'winsup/cygwin/debug.cc')
-rw-r--r-- | winsup/cygwin/debug.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/debug.cc b/winsup/cygwin/debug.cc index e7ddec8af..99fe1152e 100644 --- a/winsup/cygwin/debug.cc +++ b/winsup/cygwin/debug.cc @@ -30,7 +30,7 @@ static NO_COPY thread_info threads[32] = {{0, NULL}}; // increase as necessary void threadname_init () { - threadname_lock = new_muto (FALSE, NULL); + threadname_lock = new_muto (FALSE, "threadname_lock"); } void __stdcall @@ -202,7 +202,7 @@ static muto NO_COPY *debug_lock = NULL; void debug_init () { - debug_lock = new_muto (FALSE, NULL); + debug_lock = new_muto (FALSE, "debug_lock"); } /* Find a registered handle in the linked list of handles. */ |