summaryrefslogtreecommitdiff
path: root/libexec/login_passwd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-02 01:27:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-02 01:27:17 +0000
commitc8c9ff7d3c71fcdb0d3861d60f2604aed6ec742c (patch)
tree50d1a191442eac431bfcce80877093759aa65160 /libexec/login_passwd
parent467be242b7a7df7661d21f5d4f53b0083ec4b336 (diff)
minor KNF
Diffstat (limited to 'libexec/login_passwd')
-rw-r--r--libexec/login_passwd/login.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/login_passwd/login.c b/libexec/login_passwd/login.c
index 039d08d3f9d..5d5bc1bd2f6 100644
--- a/libexec/login_passwd/login.c
+++ b/libexec/login_passwd/login.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: login.c,v 1.3 2001/12/06 05:37:04 millert Exp $ */
+/* $OpenBSD: login.c,v 1.4 2002/06/02 01:27:15 deraadt Exp $ */
/*-
* Copyright (c) 1995 Berkeley Software Design, Inc. All rights reserved.
@@ -55,7 +55,7 @@ main(int argc, char **argv)
openlog(NULL, LOG_ODELAY, LOG_AUTH);
while ((opt = getopt(argc, argv, "ds:v:")) != -1) {
- switch(opt) {
+ switch (opt) {
case 'd':
back = stdout;
break;
@@ -91,7 +91,7 @@ main(int argc, char **argv)
}
}
- switch(argc - optind) {
+ switch (argc - optind) {
case 2:
class = argv[optind + 1];
case 1:
@@ -113,7 +113,7 @@ main(int argc, char **argv)
*
* XXX This is completely ungrokkable, and should be rewritten.
*/
- switch(mode) {
+ switch (mode) {
case MODE_RESPONSE: {
int count;
mode = 0;