summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1998-02-03 19:18:22 +0000
committerderaadt <deraadt@openbsd.org>1998-02-03 19:18:22 +0000
commit816b95207bc35f4ec78fab088a54d257e9a617a1 (patch)
tree02264937e9553b6bb23bc0490f4a109fea99b8d9
parentworkaround gethostbyaddr() race in signal handler; more correct fix would (diff)
downloadwireguard-openbsd-816b95207bc35f4ec78fab088a54d257e9a617a1.tar.xz
wireguard-openbsd-816b95207bc35f4ec78fab088a54d257e9a617a1.zip
usage line fix; pjanzen@foatdi.harvard.edu
-rw-r--r--usr.bin/w/w.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c
index 0b88efe5ac7..72c8a01ddf5 100644
--- a/usr.bin/w/w.c
+++ b/usr.bin/w/w.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: w.c,v 1.23 1998/01/16 17:50:43 millert Exp $ */
+/* $OpenBSD: w.c,v 1.24 1998/02/03 19:18:22 deraadt Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993, 1994
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)w.c 8.4 (Berkeley) 4/16/94";
#else
-static char *rcsid = "$OpenBSD: w.c,v 1.23 1998/01/16 17:50:43 millert Exp $";
+static char *rcsid = "$OpenBSD: w.c,v 1.24 1998/02/03 19:18:22 deraadt Exp $";
#endif
#endif /* not lint */
@@ -479,6 +479,6 @@ usage(wcmd)
(void)fprintf(stderr,
"usage: w: [-hia] [-M core] [-N system] [user]\n");
else
- (void)fprintf(stderr, "uptime\n");
+ (void)fprintf(stderr, "usage: uptime\n");
exit (1);
}