diff options
author | Xin LI <delphij@FreeBSD.org> | 2021-07-18 05:00:54 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2021-07-18 05:00:54 +0000 |
commit | 1f8b3bb911e37330e00dab1b1e6cba65c573e63c (patch) | |
tree | 76bc208c60410d67a73ad419308e89b2f17e33df /ch.c | |
parent | bb457ab744207cc137364e84eb5e56632cdcdc98 (diff) |
Diffstat (limited to 'ch.c')
-rw-r--r-- | ch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -860,7 +860,7 @@ ch_init(f, flags) * Allocate and initialize a new filestate. */ thisfile = (struct filestate *) - calloc(1, sizeof(struct filestate)); + ecalloc(1, sizeof(struct filestate)); thisfile->buflist.next = thisfile->buflist.prev = END_OF_CHAIN; thisfile->nbufs = 0; thisfile->flags = flags; |