aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2023-10-06 11:50:11 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2023-10-06 11:50:11 +0200
commite8bca65d629a4faa89439c9f0e599efb5a259573 (patch)
tree35764012d6f0155ecd1c158c8bf4b062e2bd5ba5
parentca6f30f621c1195b577ace7a14b9037fab0dab91 (diff)
downloadslock-e8bca65d629a4faa89439c9f0e599efb5a259573.tar.gz
slock-e8bca65d629a4faa89439c9f0e599efb5a259573.tar.xz
write version to stdout like the man page says
-rw-r--r--slock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slock.c b/slock.c
index 5ae738c..b2f14e3 100644
--- a/slock.c
+++ b/slock.c
@@ -317,7 +317,7 @@ main(int argc, char **argv) {
ARGBEGIN {
case 'v':
- fprintf(stderr, "slock-"VERSION"\n");
+ puts("slock-"VERSION);
return 0;
default:
usage();