Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-05-17 19:48:34 +0300
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-05-18 08:45:09 +0300
commit5c7af4227d324c2aa83e4fc4042a1b52147907f4 (patch)
tree6397608616bb7798959735b01d5bd1eb2992412e /newlib/libc/stdlib
parente826fbb2ae884257479165476acbc8d8be7d0081 (diff)
Use right lock release in __register_exitproc()
Diffstat (limited to 'newlib/libc/stdlib')
-rw-r--r--newlib/libc/stdlib/__atexit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdlib/__atexit.c b/newlib/libc/stdlib/__atexit.c
index 97ce053bf..ed7af4200 100644
--- a/newlib/libc/stdlib/__atexit.c
+++ b/newlib/libc/stdlib/__atexit.c
@@ -133,7 +133,7 @@ __register_exitproc (int type,
if (args == NULL)
{
#ifndef __SINGLE_THREAD__
- __lock_release(__atexit_recursive_mutex);
+ __lock_release_recursive(__atexit_recursive_mutex);
#endif
return -1;
}