Sync lock(1) on VT_LOCKSWITCH usage with syscons(4), vt(4) and vidcontrol(1).
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
7ee92f6e08
commit
0cc7a38567
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=266496
@ -121,7 +121,7 @@ main(int argc, char **argv)
|
||||
no_timeout = 1;
|
||||
break;
|
||||
case 'v':
|
||||
vtylock = 1;
|
||||
vtylock = 0x2;
|
||||
break;
|
||||
case '?':
|
||||
default:
|
||||
@ -193,7 +193,7 @@ main(int argc, char **argv)
|
||||
(void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty);
|
||||
err(1, "locking vty");
|
||||
}
|
||||
vtyunlock = 0x2;
|
||||
vtyunlock = 0x1;
|
||||
}
|
||||
|
||||
/* header info */
|
||||
|
Loading…
Reference in New Issue
Block a user