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 --- swaybar/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swaybar') diff --git a/swaybar/main.c b/swaybar/main.c index 108b16e9..5c36d66b 100644 --- a/swaybar/main.c +++ b/swaybar/main.c @@ -55,7 +55,7 @@ int main(int argc, char **argv) { swaybar.id = strdup(optarg); break; case 'v': - fprintf(stdout, "swaybar version " SWAY_VERSION "\n"); + printf("swaybar version " SWAY_VERSION "\n"); exit(EXIT_SUCCESS); break; case 'd': // Debug -- cgit v1.2.3