aboutsummaryrefslogtreecommitdiff
path: root/swaybar
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 /swaybar
parent915ba01ff1388028a85156feb08e9296c356a696 (diff)
Changed fprintf(stdout,...) to printf(...) for more readable code
Diffstat (limited to 'swaybar')
-rw-r--r--swaybar/main.c2
1 files changed, 1 insertions, 1 deletions
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