diff options
author | SpizzyCoder <spizzycoder@protonmail.com> | 2021-01-16 19:49:44 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-16 20:24:41 +0100 |
commit | 7cf25d3b987ff00a644bf5b6910a366f93029bbe (patch) | |
tree | b203b9dd55481dc641e5e7a9c79211146d58e3a8 /swaymsg/main.c | |
parent | config/output: correct refresh rate rounding error (diff) | |
download | sway-7cf25d3b987ff00a644bf5b6910a366f93029bbe.tar.gz sway-7cf25d3b987ff00a644bf5b6910a366f93029bbe.tar.zst sway-7cf25d3b987ff00a644bf5b6910a366f93029bbe.zip |
Changed fprintf(stdout,...) to printf(...) for more readable code
Diffstat (limited to 'swaymsg/main.c')
-rw-r--r-- | swaymsg/main.c | 2 |
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: |