1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 01:51:03 +09:00

printf: Oops, '-' is the left padding modifier, not ' '.

It's kinda funny how I can make a mistake like this in Serenity and then
get so used to it by spending lots of time using this API that I start to
believe that this is how printf() always worked..
This commit is contained in:
Andreas Kling 2019-06-22 15:52:45 +02:00
parent 5980007e44
commit 1277d583ef
Notes: sideshowbarker 2024-07-19 13:31:14 +09:00
5 changed files with 17 additions and 17 deletions

View file

@ -45,7 +45,7 @@ int main(int, char**)
(void)total_inode_count;
(void)free_inode_count;
printf("% 10s", fs.characters());
printf("%-10s", fs.characters());
printf("%10u ", total_block_count);
printf("%10u ", total_block_count - free_block_count);
printf("%10u ", free_block_count);