ubase

suckless linux base utils
git clone git://git.2f30.org/ubase.git
Log | Files | Refs | README | LICENSE

commit 2b05b81e02fd6ddfed0ca33b51f3d3ed29841246
parent 4a53dd4fba626de4bab90c8496dcf7c5ed656ca2
Author: sin <sin@2f30.org>
Date:   Fri Dec  5 19:06:22 +0000

Rename to unlock/lock as opposed to enable/disable

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