mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 10:48:53 +00:00
Kernel+Userland: Make some of the POSIX types larger
Expand the following types from 32-bit to 64-bit: - blkcnt_t - blksize_t - dev_t - nlink_t - suseconds_t - clock_t This matches their size on other 64-bit systems.
This commit is contained in:
parent
d8bb32117e
commit
b98f537f11
Notes:
sideshowbarker
2024-07-19 01:59:31 +09:00
Author: https://github.com/awesomekling
Commit: b98f537f11
Pull-request: https://github.com/SerenityOS/serenity/pull/18163
Reviewed-by: https://github.com/Hendiadyoin1
3 changed files with 8 additions and 8 deletions
|
@ -337,7 +337,7 @@ static bool print_filesystem_object(DeprecatedString const& path, DeprecatedStri
|
|||
else
|
||||
printf("%c", st.st_mode & S_IXOTH ? 'x' : '-');
|
||||
|
||||
printf(" %3u", st.st_nlink);
|
||||
printf(" %3lu", st.st_nlink);
|
||||
|
||||
auto username = users.get(st.st_uid);
|
||||
if (!flag_print_numeric && username.has_value()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue