summaryrefslogtreecommitdiff
path: root/lib/libc/db/btree/bt_overflow.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1998-09-16 04:17:47 +0000
committerWarner Losh <imp@FreeBSD.org>1998-09-16 04:17:47 +0000
commite8420087b0ae4a2d0611cd2f6413d150cfc83554 (patch)
tree69de0b126d131ecd617d41b6eba03770319d92e3 /lib/libc/db/btree/bt_overflow.c
parente9363917832d4d492df8463833be0cd952076fa8 (diff)
Notes
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 b28b8e04711a..db28a22c73c1 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;