summary refs log tree commit diff
path: root/stdlib/atexit.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/atexit.c')
-rw-r--r--stdlib/atexit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/atexit.c b/stdlib/atexit.c
index 675de668cc..bf7f91a22b 100644
--- a/stdlib/atexit.c
+++ b/stdlib/atexit.c
@@ -49,7 +49,7 @@ __new_exitfn (void)
   struct exit_function_list *l;
   size_t i = 0;
 
-  __libc_lock_lock (lock)
+  __libc_lock_lock (lock);
 
   for (l = __exit_funcs; l != NULL; l = l->next)
     {
@@ -84,7 +84,7 @@ __new_exitfn (void)
   if (l != NULL)
     l->fns[i].flavor = ef_us;
 
-  __libc_lock_unlock (lock)
+  __libc_lock_unlock (lock);
 
   return l == NULL ? NULL : &l->fns[i];
 }