mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:34:59 +00:00
Userland: Fix 64-bit portability issues
This commit is contained in:
parent
fdbe66a7b4
commit
b613817bca
15 changed files with 59 additions and 30 deletions
|
@ -71,9 +71,9 @@ int main(int argc, char** argv)
|
|||
printf("%10s ", human_readable_size((total_block_count - free_block_count) * block_size).characters());
|
||||
printf("%10s ", human_readable_size(free_block_count * block_size).characters());
|
||||
} else {
|
||||
printf("%10" PRIu64 " ", total_block_count);
|
||||
printf("%10" PRIu64 " ", total_block_count - free_block_count);
|
||||
printf("%10" PRIu64 " ", free_block_count);
|
||||
printf("%10" PRIu64 " ", (uint64_t)total_block_count);
|
||||
printf("%10" PRIu64 " ", (uint64_t)(total_block_count - free_block_count));
|
||||
printf("%10" PRIu64 " ", (uint64_t)free_block_count);
|
||||
}
|
||||
|
||||
printf("%s", mount_point.characters());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue