summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2001-02-05 22:47:14 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2001-02-05 22:47:14 +0000
commit7d39a837baecd4f28156db941dc797c36e3bbb0f (patch)
treeecab1593a776e53ac5db3994aaec5ddd7142f0a2 /sbin
parentd6ce12d1cbb33002f9cfe542219153fdf36fde1d (diff)
when flags are FLG_WRONLY, say "write only" instead of "read only"
Diffstat (limited to 'sbin')
-rw-r--r--sbin/wsconsctl/wsconsctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/wsconsctl/wsconsctl.c b/sbin/wsconsctl/wsconsctl.c
index 6fd01846209..463bcea823a 100644
--- a/sbin/wsconsctl/wsconsctl.c
+++ b/sbin/wsconsctl/wsconsctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsconsctl.c,v 1.2 2001/01/30 06:50:12 aaron Exp $ */
+/* $OpenBSD: wsconsctl.c,v 1.3 2001/02/05 22:47:13 matthieu Exp $ */
/* $NetBSD: wsconsctl.c,v 1.2 1998/12/29 22:40:20 hannken Exp $ */
/*-
@@ -212,7 +212,7 @@ main(argc, argv)
for (i = 0; i < argc; i++) {
f = field_by_name(argv[i]);
if ((f->flags & FLG_WRONLY) != 0)
- errx(1, "%s: read only", argv[i]);
+ errx(1, "%s: write only", argv[i]);
f->flags |= FLG_GET;
}
(*getval)(fd);