Rename to unlock/lock as opposed to enable/disable - ubase - suckless linux base utils
(HTM) git clone git://git.suckless.org/ubase
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 42db5e13d01486fb16e690fd7e3b1d9d7777cd83
(DIR) parent b0b8579eb3c4add4f02b88b2332bd92ba788d3bd
(HTM) Author: sin <sin@2f30.org>
Date: Fri, 5 Dec 2014 19:06:22 +0000
Rename to unlock/lock as opposed to enable/disable
Diffstat:
M vtallow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) 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;
}