aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
diff options
context:
space:
mode:
authorSpizzyCoder <spizzycoder@protonmail.com>2021-01-16 19:49:44 +0100
committerSimon Ser <contact@emersion.fr>2021-01-16 20:24:41 +0100
commit7cf25d3b987ff00a644bf5b6910a366f93029bbe (patch)
treeb203b9dd55481dc641e5e7a9c79211146d58e3a8 /swaymsg
parent915ba01ff1388028a85156feb08e9296c356a696 (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: