Rename to unlock/lock as opposed to enable/disable

This commit is contained in:
sin 2014-12-05 19:06:22 +00:00
parent b0b8579eb3
commit 42db5e13d0

View File

@ -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;
}