From 7cf25d3b987ff00a644bf5b6910a366f93029bbe Mon Sep 17 00:00:00 2001 From: SpizzyCoder Date: Sat, 16 Jan 2021 19:49:44 +0100 Subject: Changed fprintf(stdout,...) to printf(...) for more readable code --- swaynag/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swaynag') 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)) { -- cgit v1.2.3