Changed fprintf(stdout,...) to printf(...) for more readable code

This commit is contained in:
SpizzyCoder 2021-01-16 19:49:44 +01:00 committed by Simon Ser
parent 915ba01ff1
commit 7cf25d3b98
4 changed files with 6 additions and 6 deletions

View file

@ -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