summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkstailey <kstailey@openbsd.org>1997-07-25 14:36:24 +0000
committerkstailey <kstailey@openbsd.org>1997-07-25 14:36:24 +0000
commitcce62e5befdb8aac7217754bfe8e8b9c6d3a1098 (patch)
tree731b37bc4cd7233a8c8e91e070d4e9239c04eada
parentword choice (diff)
downloadwireguard-openbsd-cce62e5befdb8aac7217754bfe8e8b9c6d3a1098.tar.xz
wireguard-openbsd-cce62e5befdb8aac7217754bfe8e8b9c6d3a1098.zip
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)