diff options
| author | Warner Losh <imp@FreeBSD.org> | 1998-09-16 04:17:47 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 1998-09-16 04:17:47 +0000 |
| commit | e8420087b0ae4a2d0611cd2f6413d150cfc83554 (patch) | |
| tree | 69de0b126d131ecd617d41b6eba03770319d92e3 /lib/libedit/map.c | |
| parent | e9363917832d4d492df8463833be0cd952076fa8 (diff) | |
Notes
Diffstat (limited to 'lib/libedit/map.c')
| -rw-r--r-- | lib/libedit/map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/map.c b/lib/libedit/map.c index 571982704e22..4b940d40a8e1 100644 --- a/lib/libedit/map.c +++ b/lib/libedit/map.c @@ -1380,9 +1380,9 @@ map_addfunc(el, name, help, func) return -1; el->el_map.func = (el_func_t *) - el_realloc(el->el_map.func, nf * sizeof(el_func_t)); + el_reallocf(el->el_map.func, nf * sizeof(el_func_t)); el->el_map.help = (el_bindings_t *) - el_realloc(el->el_map.help, nf * sizeof(el_bindings_t)); + el_reallocf(el->el_map.help, nf * sizeof(el_bindings_t)); nf = el->el_map.nfunc; el->el_map.func[nf] = func; |
