aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-01-16 19:49:44 +0100
committerFurkan Sahin <furkan-dev@proton.me>2021-01-16 19:49:44 +0100
commit477128b8a4c91629ec553c62fcb08827d631ed95 (patch)
treeb203b9dd55481dc641e5e7a9c79211146d58e3a8 /swaymsg
parent4f237c96234a47661b5f718dc9fc9c4d1970a9ff (diff)
Changed fprintf(stdout,...) to printf(...) for more readable code
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: