Rollback r266496.

Different meaning of flags for lock(1) and vidcontrol(1) confuse me.

Pointy hat to:	ray
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
ray 2014-05-22 09:28:36 +00:00
parent eff5fea2f0
commit 4eb3bf8079

View File

@ -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 */