about summary refs log tree commit diff
path: root/sysdeps/unix/opendir.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/opendir.c')
-rw-r--r--sysdeps/unix/opendir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/opendir.c b/sysdeps/unix/opendir.c
index 2469917f45..ef7bc84866 100644
--- a/sysdeps/unix/opendir.c
+++ b/sysdeps/unix/opendir.c
@@ -83,6 +83,7 @@ __opendir (const char *name)
       return NULL;
     }
   dirp->data = (char *) (dirp + 1);
+  dirp->allocation = allocation;
   dirp->fd = fd;
 
   __libc_lock_init (dirp->lock);