1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:57:34 +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:
Jean-Baptiste Boric 2021-03-13 22:03:26 +01:00 committed by Andreas Kling
parent 7a079f7780
commit ade6343fca
3 changed files with 3 additions and 3 deletions

View file

@ -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);
}
}