summaryrefslogtreecommitdiff
path: root/usr.bin/kdump/kdump.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-03-31 18:59:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-03-31 18:59:15 +0000
commita50a53c9456756b4d623f0f7e7f7a0278d9c488b (patch)
treec81d51f9a65ebffa00c9b66a8fda1af762cab397 /usr.bin/kdump/kdump.c
parente98fcdab1f608c11104fa4419fddeb99df468dee (diff)
err(1, NULL) can drive people insane, so please avoid it.
ok guenther
Diffstat (limited to 'usr.bin/kdump/kdump.c')
-rw-r--r--usr.bin/kdump/kdump.c4
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;
}