diff options
Diffstat (limited to 'libc/misc/dirent/opendir.c')
-rw-r--r-- | libc/misc/dirent/opendir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/dirent/opendir.c b/libc/misc/dirent/opendir.c index 4a23ab061..66a5cc9e9 100644 --- a/libc/misc/dirent/opendir.c +++ b/libc/misc/dirent/opendir.c @@ -35,7 +35,7 @@ static DIR *fd_to_DIR(int fd, __blksize_t size) free(ptr); return NULL; } - __pthread_mutex_init(&ptr->dd_lock, NULL); + __UCLIBC_MUTEX_INIT_VAR(ptr->dd_lock); return ptr; } |