From 286625cf9103de59993c2275691c4feb12a29885 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 3 Jan 2012 19:13:57 +0000 Subject: 2012-01-03 Viachaslau Kulakouski * libc/stdlib/__atexit.c: Refer to __atexit_lock instead of lock. --- newlib/libc/stdlib/__atexit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/stdlib') 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; } -- cgit v1.2.3