diff options
-rw-r--r-- | bin/ed/glbl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ed/glbl.c b/bin/ed/glbl.c index 5524700..029f4f2 100644 --- a/bin/ed/glbl.c +++ b/bin/ed/glbl.c @@ -153,7 +153,7 @@ set_active_node(line_t *lp) if (active_list != NULL) { #endif if ((ts = (line_t **) realloc(active_list, - (ti += MINBUFSZ) * sizeof(line_t **))) == NULL) { + (ti += MINBUFSZ) * sizeof(line_t *))) == NULL) { fprintf(stderr, "%s\n", strerror(errno)); errmsg = "out of memory"; SPL0(); |