summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2012-01-03 19:13:57 +0000
committerJeff Johnston <jjohnstn@redhat.com>2012-01-03 19:13:57 +0000
commit286625cf9103de59993c2275691c4feb12a29885 (patch)
tree5b509948b91edea87e7568a3e0b4a5e1c296d264 /newlib/libc/stdlib
parent2a4b36abb71373c39fb84add0c6405049f5b8e76 (diff)
downloadcygnal-286625cf9103de59993c2275691c4feb12a29885.tar.gz
cygnal-286625cf9103de59993c2275691c4feb12a29885.tar.bz2
cygnal-286625cf9103de59993c2275691c4feb12a29885.zip
2012-01-03 Viachaslau Kulakouski <Viachaslau.Kulakouski@oracle.com>
* libc/stdlib/__atexit.c: Refer to __atexit_lock instead of lock.
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 a26d2eccc..4687d0023 100644
--- a/newlib/libc/stdlib/__atexit.c
+++ b/newlib/libc/stdlib/__atexit.c
@@ -74,7 +74,7 @@ _DEFUN (__register_exitproc,
if (args == NULL)
{
#ifndef __SINGLE_THREAD__
- __lock_release(lock);
+ __lock_release(__atexit_lock);
#endif
return -1;
}