summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/opendir.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/opendir.c')
-rw-r--r--lib/libc/gen/opendir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/opendir.c b/lib/libc/gen/opendir.c
index 73da108..ff01646 100644
--- a/lib/libc/gen/opendir.c
+++ b/lib/libc/gen/opendir.c
@@ -137,7 +137,7 @@ __opendir2(name, flags)
if (space < DIRBLKSIZ) {
space += incr;
len += incr;
- buf = realloc(buf, len);
+ buf = reallocf(buf, len);
if (buf == NULL)
goto fail;
ddptr = buf + (len - space);
OpenPOWER on IntegriCloud