[hackers] [ubase] Rename to unlock/lock as opposed to enable/disable || sin

From: <git_AT_suckless.org>
Date: Fri, 05 Dec 2014 20:06:44 +0100

commit 42db5e13d01486fb16e690fd7e3b1d9d7777cd83
Author: sin <sin_AT_2f30.org>
Date: Fri Dec 5 19:06:22 2014 +0000

    Rename to unlock/lock as opposed to enable/disable

diff --git a/vtallow.c b/vtallow.c
index 28edea3..580c4b6 100644
--- a/vtallow.c
+++ b/vtallow.c
_AT_@ -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;
 }
Received on Fri Dec 05 2014 - 20:06:44 CET

This archive was generated by hypermail 2.3.0 : Fri Dec 05 2014 - 20:12:09 CET