diff options
author | 2001-02-05 22:47:13 +0000 | |
---|---|---|
committer | 2001-02-05 22:47:13 +0000 | |
commit | 0d566dc51eb1bf620d3125235429f991a185b407 (patch) | |
tree | 757ed28a8a931a190800cdd598cad910cc5932b5 | |
parent | if a build generates the files, a clean should remove them. ok beck@ (diff) | |
download | wireguard-openbsd-0d566dc51eb1bf620d3125235429f991a185b407.tar.xz wireguard-openbsd-0d566dc51eb1bf620d3125235429f991a185b407.zip |
when flags are FLG_WRONLY, say "write only" instead of "read only"
-rw-r--r-- | sbin/wsconsctl/wsconsctl.c | 4 |
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); |