about summary refs log tree commit diff
path: root/sysdeps/posix/closedir.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/closedir.c')
-rw-r--r--sysdeps/posix/closedir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/closedir.c b/sysdeps/posix/closedir.c
index 24ba1a5c42..0b57a0dff1 100644
--- a/sysdeps/posix/closedir.c
+++ b/sysdeps/posix/closedir.c
@@ -43,7 +43,7 @@ __closedir (DIR *dirp)
 
   fd = dirp->fd;
 
-#ifndef NOT_IN_libc
+#if IS_IN (libc)
   __libc_lock_fini (dirp->lock);
 #endif