summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 2f26c1a..5c21817 100644
--- a/main.c
+++ b/main.c
@@ -718,7 +718,7 @@ static int parse_options(int argc, char **argv, struct swaylock_state *state,
}
break;
case 'v':
- fprintf(stdout, "swaylock version " SWAY_VERSION "\n");
+ fprintf(stdout, "swaylock version " SWAYLOCK_VERSION "\n");
exit(EXIT_SUCCESS);
break;
case LO_BS_HL_COLOR: