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:
Aleksandr Rybalko 2014-05-22 09:28:36 +00:00
parent ee652839f6
commit b8a7acdf7b

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