Introduction
Introduction Statistics Contact Development Disclaimer Help
Rename to unlock/lock as opposed to enable/disable - ubase - suckless linux bas…
git clone git://git.suckless.org/ubase
Log
Files
Refs
README
LICENSE
---
commit 42db5e13d01486fb16e690fd7e3b1d9d7777cd83
parent b0b8579eb3c4add4f02b88b2332bd92ba788d3bd
Author: sin <[email protected]>
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(-)
---
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;
}
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.