commit 42db5e13d01486fb16e690fd7e3b1d9d7777cd83
Author: sin <[email protected]>
Date: Fri Dec 5 19:06:22 2014 +0000
Rename to unlock/lock as opposed to enable/disable
diff --git a/vtallow.c b/vtallow.c
index 28edea3..580c4b6 100644
--- 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;
}