~sircmpwn/deacme unlisted

fc2bbb5d0f840b308929ac0df3b4626ac379e614 — Drew DeVault 2 years ago ab5755c
Add comms[com] to readbuf malloc failure
1 files changed, 1 insertions(+), 1 deletions(-)

M util.c
M util.c => util.c +1 -1
@@ 122,7 122,7 @@ char *readbuf(int fd, enum comm comm, size_t *sz) {
		warnx("integer overflow");
		return NULL;
	} else if (NULL == (p = calloc(1, *sz + 1))) {
		warn("malloc(%zd)", *sz + 1);
		warn("malloc %s (%zd)", comms[com], *sz + 1);
		return NULL;
	}