aboutsummaryrefslogtreecommitdiff
path: root/swaybar/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/main.c')
-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