diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-03-31 18:59:15 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-03-31 18:59:15 +0000 |
commit | a50a53c9456756b4d623f0f7e7f7a0278d9c488b (patch) | |
tree | c81d51f9a65ebffa00c9b66a8fda1af762cab397 /usr.bin/kdump | |
parent | e98fcdab1f608c11104fa4419fddeb99df468dee (diff) |
err(1, NULL) can drive people insane, so please avoid it.
ok guenther
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r-- | usr.bin/kdump/kdump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index 252eccd75eb..3ef74ad4f57 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kdump.c,v 1.65 2012/03/19 09:05:39 guenther Exp $ */ +/* $OpenBSD: kdump.c,v 1.66 2012/03/31 18:59:14 deraadt Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -238,7 +238,7 @@ main(int argc, char *argv[]) errx(1, "data too long"); newm = realloc(m, ktrlen+1); if (newm == NULL) - err(1, NULL); + err(1, "realloc"); m = newm; size = ktrlen; } |