diff options
Diffstat (limited to 'sysdeps/unix/opendir.c')
-rw-r--r-- | sysdeps/unix/opendir.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/opendir.c b/sysdeps/unix/opendir.c index df20b9c..8dca80b 100644 --- a/sysdeps/unix/opendir.c +++ b/sysdeps/unix/opendir.c @@ -90,5 +90,8 @@ opendir (const char *name) } dirp->fd = fd; + + __libc_lock_init (dirp->lock); + return dirp; } |