summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-07-25 14:36:25 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-07-25 14:36:25 +0000
commit90fc2c85609a8fb858575642d17dea9b71da9551 (patch)
tree3f58db383ae6e6e10f02f3d932319b232685e55e
parenta674505f453176755ec3c832e7b565a6e36d47c3 (diff)
more to the point err. msg.
-rw-r--r--usr.bin/w/w.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c
index 7264d6bb469..e890b0d0ca0 100644
--- a/usr.bin/w/w.c
+++ b/usr.bin/w/w.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: w.c,v 1.19 1997/07/25 05:04:07 mickey Exp $ */
+/* $OpenBSD: w.c,v 1.20 1997/07/25 14:36:24 kstailey Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993, 1994
@@ -139,7 +139,8 @@ main(argc, argv)
wcmd = 0;
p = "";
} else
- errx(1, "bad program name");
+ errx(1,
+ "this program should be invoked only as \"w\" or \"uptime\"");
memf = nlistf = NULL;
while ((ch = getopt(argc, argv, p)) != -1)