artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
751337f
)
Drop support for the undocumented second argument (same as -N option)
author
guenther
<guenther@openbsd.org>
Mon, 4 Jul 2016 04:05:29 +0000
(
04:05
+0000)
committer
guenther
<guenther@openbsd.org>
Mon, 4 Jul 2016 04:05:29 +0000
(
04:05
+0000)
ok deraadt@
sbin/savecore/savecore.c
patch
|
blob
|
history
diff --git
a/sbin/savecore/savecore.c
b/sbin/savecore/savecore.c
index
feb8bae
..
45cf7a0
100644
(file)
--- a/
sbin/savecore/savecore.c
+++ b/
sbin/savecore/savecore.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: savecore.c,v 1.5
5 2015/10/18 03:17:48 deraadt Exp $
*/
+/* $OpenBSD: savecore.c,v 1.5
6 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();