diff options
author | ray <ray@FreeBSD.org> | 2014-05-22 09:28:36 +0000 |
---|---|---|
committer | ray <ray@FreeBSD.org> | 2014-05-22 09:28:36 +0000 |
commit | 4eb3bf8079dc37a586edf49aed22b3159fdfc06b (patch) | |
tree | 1d109fac09677fee33402aa4e8d61c51dd30ba54 /usr.bin/lock | |
parent | eff5fea2f017932e7e79e5b65cc41ce875be4f46 (diff) | |
download | FreeBSD-src-4eb3bf8079dc37a586edf49aed22b3159fdfc06b.zip FreeBSD-src-4eb3bf8079dc37a586edf49aed22b3159fdfc06b.tar.gz |
Rollback r266496.
Different meaning of flags for lock(1) and vidcontrol(1) confuse me.
Pointy hat to: ray
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.bin/lock')
-rw-r--r-- | usr.bin/lock/lock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/lock/lock.c b/usr.bin/lock/lock.c index 376f36c..acc0e29 100644 --- a/usr.bin/lock/lock.c +++ b/usr.bin/lock/lock.c @@ -121,7 +121,7 @@ main(int argc, char **argv) no_timeout = 1; break; case 'v': - vtylock = 0x2; + vtylock = 1; break; case '?': default: @@ -193,7 +193,7 @@ main(int argc, char **argv) (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty); err(1, "locking vty"); } - vtyunlock = 0x1; + vtyunlock = 0x2; } /* header info */ |