summaryrefslogtreecommitdiff
path: root/libexec/rlogind
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-20 22:40:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-20 22:40:43 +0000
commit2ec79f337bae869c31c4dcea714414dcc27762a3 (patch)
tree3619eba8432a29db73ae6e940b2a093b73828151 /libexec/rlogind
parent6f8ae11c5d50d06b8bdafe0dd2361bc49b000cfe (diff)
bad arguments? usage() should syslog()
Diffstat (limited to 'libexec/rlogind')
-rw-r--r--libexec/rlogind/rlogind.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/rlogind/rlogind.c b/libexec/rlogind/rlogind.c
index 254a2a1e2fe..8786b8fbda3 100644
--- a/libexec/rlogind/rlogind.c
+++ b/libexec/rlogind/rlogind.c
@@ -39,7 +39,7 @@ static char copyright[] =
#ifndef lint
/* from: static char sccsid[] = "@(#)rlogind.c 8.1 (Berkeley) 6/4/93"; */
-static char *rcsid = "$Id: rlogind.c,v 1.20 1997/06/29 11:10:29 provos Exp $";
+static char *rcsid = "$Id: rlogind.c,v 1.21 1999/07/20 22:40:40 deraadt Exp $";
#endif /* not lint */
/*
@@ -717,4 +717,5 @@ usage()
#else
syslog(LOG_ERR, "usage: rlogind [-aln]");
#endif
+ exit(2);
}