Rename to unlock/lock as opposed to enable/disable
This commit is contained in:
parent
b0b8579eb3
commit
42db5e13d0
@ -46,7 +46,7 @@ main(int argc, char *argv[])
|
|||||||
eprintf("open %s:", CONSOLE);
|
eprintf("open %s:", CONSOLE);
|
||||||
if (ioctl(fd, allow ? VT_UNLOCKSWITCH : VT_LOCKSWITCH) < 0)
|
if (ioctl(fd, allow ? VT_UNLOCKSWITCH : VT_LOCKSWITCH) < 0)
|
||||||
eprintf("cannot %s VT switch:",
|
eprintf("cannot %s VT switch:",
|
||||||
allow ? "enable" : "disable");
|
allow ? "unlock" : "lock");
|
||||||
close(fd);
|
close(fd);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user