diff options
author | Ed Maste <emaste@FreeBSD.org> | 2019-06-04 19:39:06 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2019-06-04 19:39:06 +0000 |
commit | 7e65018aa6d3fb38744b93a4f6e2bf0d9a323760 (patch) | |
tree | 2b0ca4aa363837f2c940b1ca414c4a2a3970dca6 /usr.bin/vtfontcvt | |
parent | 37dbd136c3a4c51d15507696da0baa0478c289fb (diff) | |
download | src-test2-7e65018aa6d3fb38744b93a4f6e2bf0d9a323760.tar.gz src-test2-7e65018aa6d3fb38744b93a4f6e2bf0d9a323760.zip |
Notes
Diffstat (limited to 'usr.bin/vtfontcvt')
-rw-r--r-- | usr.bin/vtfontcvt/vtfontcvt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/vtfontcvt/vtfontcvt.c b/usr.bin/vtfontcvt/vtfontcvt.c index dc9ed1f50cf9..1e82049872ac 100644 --- a/usr.bin/vtfontcvt/vtfontcvt.c +++ b/usr.bin/vtfontcvt/vtfontcvt.c @@ -102,7 +102,7 @@ xmalloc(size_t size) { void *m; - if ((m = malloc(size)) == NULL) + if ((m = calloc(1, size)) == NULL) errx(1, "memory allocation failure"); return (m); } |