ubase

suckless linux base utils
git clone git://git.2f30.org/ubase
Log | Files | Refs | README | LICENSE

commit 42db5e13d01486fb16e690fd7e3b1d9d7777cd83
parent b0b8579eb3c4add4f02b88b2332bd92ba788d3bd
Author: sin <sin@2f30.org>
Date:   Fri,  5 Dec 2014 19:06:22 +0000

Rename to unlock/lock as opposed to enable/disable

Diffstat:
Mvtallow.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vtallow.c b/vtallow.c @@ -46,7 +46,7 @@ main(int argc, char *argv[]) eprintf("open %s:", CONSOLE); if (ioctl(fd, allow ? VT_UNLOCKSWITCH : VT_LOCKSWITCH) < 0) eprintf("cannot %s VT switch:", - allow ? "enable" : "disable"); + allow ? "unlock" : "lock"); close(fd); return 0; }