summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-07-04 04:05:30 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-07-04 04:05:30 +0000
commit089837b80ca7fafd992bcbf87e7455c49e31665f (patch)
tree0b33a2a5e587ff8d608660f08f0ac0be7209014b /sbin
parente34a06f096dc2428d45f67a21ebe664a3d8998d7 (diff)
Drop support for the undocumented second argument (same as -N option)
ok deraadt@
Diffstat (limited to 'sbin')
-rw-r--r--sbin/savecore/savecore.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c
index feb8baec3ff..45cf7a0c490 100644
--- a/sbin/savecore/savecore.c
+++ b/sbin/savecore/savecore.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: savecore.c,v 1.55 2015/10/18 03:17:48 deraadt Exp $ */
+/* $OpenBSD: savecore.c,v 1.56 2016/07/04 04:05:29 guenther Exp $ */
/* $NetBSD: savecore.c,v 1.26 1996/03/18 21:16:05 leo Exp $ */
/*-
@@ -161,12 +161,10 @@ main(int argc, char *argv[])
argv += optind;
if (!clear) {
- if (argc != 1 && argc != 2)
+ if (argc != 1)
usage();
dirn = argv[0];
}
- if (argc == 2)
- kernel = argv[1];
(void)time(&now);
kmem_setup();