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 /swaynag | |
parent | 915ba01ff1388028a85156feb08e9296c356a696 (diff) |
Changed fprintf(stdout,...) to printf(...) for more readable code
Diffstat (limited to 'swaynag')
-rw-r--r-- | swaynag/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaynag/config.c b/swaynag/config.c index a57597ef..ca7f4eb2 100644 --- a/swaynag/config.c +++ b/swaynag/config.c @@ -234,7 +234,7 @@ int swaynag_parse_options(int argc, char **argv, struct swaynag *swaynag, } break; case 'v': // Version - fprintf(stdout, "swaynag version " SWAY_VERSION "\n"); + printf("swaynag version " SWAY_VERSION "\n"); return -1; case TO_COLOR_BACKGROUND: // Background color if (type && !parse_color(optarg, &type->background)) { |