aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
diff options
context:
space:
mode:
Diffstat (limited to 'swaymsg')
-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) {
cmdtype = strdup(optarg);
break;
case 'v':
- fprintf(stdout, "swaymsg version " SWAY_VERSION "\n");
+ printf("swaymsg version " SWAY_VERSION "\n");
exit(EXIT_SUCCESS);
break;
default: