artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34d9787
)
fix usage, name arg is optional
author
kn
<kn@openbsd.org>
Mon, 22 May 2023 09:29:54 +0000
(09:29 +0000)
committer
kn
<kn@openbsd.org>
Mon, 22 May 2023 09:29:54 +0000
(09:29 +0000)
distrib/special/sysctl/sysctl.c
patch
|
blob
|
history
diff --git
a/distrib/special/sysctl/sysctl.c
b/distrib/special/sysctl/sysctl.c
index
9156d5f
..
e7e946c
100644
(file)
--- a/
distrib/special/sysctl/sysctl.c
+++ b/
distrib/special/sysctl/sysctl.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: sysctl.c,v 1.1
4 2021/06/04 00:29:15 deraadt Exp $
*/
+/* $OpenBSD: sysctl.c,v 1.1
5 2023/05/22 09:29:54 kn Exp $
*/
/*
* Copyright (c) 2009 Theo de Raadt <deraadt@openbsd.org>
@@
-143,7
+143,7
@@
main(int argc, char *argv[])
nflag = 1;
break;
default:
- fprintf(stderr, "usage: sysctl [-n]
name
\n");
+ fprintf(stderr, "usage: sysctl [-n]
[name]
\n");
exit(1);
}
}