summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2024-03-04 15:23:11 -0800
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2024-03-04 15:23:11 -0800
commitf91c93e26fe5e891545dec7b2bdeeea2d6bd56e2 (patch)
treead416fac0d54ed909d14346d230dd31423ec2b16
parent96adda818d355ca53e8b3d30dfc6cc87a2256003 (diff)
downloadxkbdlock-f91c93e26fe5e891545dec7b2bdeeea2d6bd56e2.tar.gz
xkbdlock-f91c93e26fe5e891545dec7b2bdeeea2d6bd56e2.tar.xz
rename
-rw-r--r--Makefile2
-rw-r--r--xkbdlock.c (renamed from xlockkbd.c)4
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 066d2ac..8278faf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
CFLAGS += -O2 -Wall -Wextra -Wpedantic
LDFLAGS += -lX11
-TARGET := xlockkbd
+TARGET := xkbdlock
SRC := $(wildcard *.c)
OBJ := $(SRC:.c=.o)
diff --git a/xlockkbd.c b/xkbdlock.c
index 2e970c5..0cdaedf 100644
--- a/xlockkbd.c
+++ b/xkbdlock.c
@@ -44,9 +44,9 @@ static void die(const char *fmt, ...)
char *s;
if (vasprintf(&s, fmt, ap) != -1)
- fprintf(stderr, "xlockkbd: %s\n", s);
+ fprintf(stderr, "xkbdlock: %s\n", s);
else
- fprintf(stderr, "xlockkbd: unknown error\n");
+ fprintf(stderr, "xkbdlock: unknown error\n");
va_end(ap);
exit(1);