summaryrefslogtreecommitdiffstats
path: root/lib/libc/db/btree/bt_overflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/db/btree/bt_overflow.c')
-rw-r--r--lib/libc/db/btree/bt_overflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/db/btree/bt_overflow.c b/lib/libc/db/btree/bt_overflow.c
index b28b8e0..db28a22 100644
--- a/lib/libc/db/btree/bt_overflow.c
+++ b/lib/libc/db/btree/bt_overflow.c
@@ -99,7 +99,7 @@ __ovfl_get(t, p, ssz, buf, bufsz)
#endif
/* Make the buffer bigger as necessary. */
if (*bufsz < sz) {
- *buf = (char *)(*buf == NULL ? malloc(sz) : realloc(*buf, sz));
+ *buf = (char *)(*buf == NULL ? malloc(sz) : reallocf(*buf, sz));
if (*buf == NULL)
return (RET_ERROR);
*bufsz = sz;
OpenPOWER on IntegriCloud