diff options
author | 2012-03-31 18:59:14 +0000 | |
---|---|---|
committer | 2012-03-31 18:59:14 +0000 | |
commit | 93e22c49f724c508c4775ff7a55bb289d11e432f (patch) | |
tree | 3d49a1b90752ff01fcd0eb3e0a06d78f740c3802 | |
parent | Make fsck_msdos work with non-512-byte sector devices. Problem noted (diff) | |
download | wireguard-openbsd-93e22c49f724c508c4775ff7a55bb289d11e432f.tar.xz wireguard-openbsd-93e22c49f724c508c4775ff7a55bb289d11e432f.zip |
err(1, NULL) can drive people insane, so please avoid it.
ok guenther
-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; } |