1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 15:07:45 +00:00

LibC: Fix some incorrect printf usages

This commit is contained in:
Sahan Fernando 2020-12-25 15:15:12 +11:00 committed by Andreas Kling
parent 6b01d1cf14
commit d780e2265d
10 changed files with 19 additions and 19 deletions

View file

@ -155,14 +155,12 @@ int main(int argc, char** argv)
insert_month_to_print(0, i++, year);
insert_month_to_print(1, i++, year);
insert_month_to_print(2, i, year);
printf(print_buffer);
printf("\n");
printf("%s\n", print_buffer);
clean_buffers();
}
} else {
insert_month_to_print(0, month, year);
printf(print_buffer);
printf("\n\n");
printf("%s\n\n", print_buffer);
clean_buffers();
}