summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getpwent.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/getpwent.c')
-rw-r--r--lib/libc/gen/getpwent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c
index b26b927..02ec190 100644
--- a/lib/libc/gen/getpwent.c
+++ b/lib/libc/gen/getpwent.c
@@ -287,7 +287,7 @@ __hashpw(key)
/* Increase buffer size for long lines if necessary. */
if (data.size > max) {
max = data.size + 1024;
- if (!(line = realloc(line, max)))
+ if (!(line = reallocf(line, max)))
return(0);
}
OpenPOWER on IntegriCloud