Date: Wed, 21 May 2014 11:53:16 +0000 (UTC) From: Aleksandr Rybalko <ray@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266496 - head/usr.bin/lock Message-ID: <201405211153.s4LBrGb6073950@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ray Date: Wed May 21 11:53:15 2014 New Revision: 266496 URL: http://svnweb.freebsd.org/changeset/base/266496 Log: Sync lock(1) on VT_LOCKSWITCH usage with syscons(4), vt(4) and vidcontrol(1). Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/lock/lock.c Modified: head/usr.bin/lock/lock.c ============================================================================== --- head/usr.bin/lock/lock.c Wed May 21 11:15:38 2014 (r266495) +++ head/usr.bin/lock/lock.c Wed May 21 11:53:15 2014 (r266496) @@ -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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405211153.s4LBrGb6073950>