aboutsummaryrefslogtreecommitdiffstats
path: root/swaymsg/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaymsg/main.c')
-rw-r--r--swaymsg/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c
index eb13f0d8..60536e48 100644
--- a/swaymsg/main.c
+++ b/swaymsg/main.c
@@ -396,7 +396,7 @@ int main(int argc, char **argv) {
396 cmdtype = strdup(optarg); 396 cmdtype = strdup(optarg);
397 break; 397 break;
398 case 'v': 398 case 'v':
399 fprintf(stdout, "swaymsg version " SWAY_VERSION "\n"); 399 printf("swaymsg version " SWAY_VERSION "\n");
400 exit(EXIT_SUCCESS); 400 exit(EXIT_SUCCESS);
401 break; 401 break;
402 default: 402 default: