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
1 changed files with 1 additions and 1 deletions

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