mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:47:35 +00:00
Userland: Fix printf specifiers with off_t
In theory we should probably use the 'j' qualifier, but we don't support it.
This commit is contained in:
parent
7a079f7780
commit
ade6343fca
3 changed files with 3 additions and 3 deletions
|
@ -312,7 +312,7 @@ static bool print_filesystem_object(const String& path, const String& name, cons
|
|||
if (flag_human_readable) {
|
||||
printf(" %10s ", human_readable_size((size_t)st.st_size).characters());
|
||||
} else {
|
||||
printf(" %10zd ", st.st_size);
|
||||
printf(" %10lld ", st.st_size);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue