mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 17:58:18 +03:00
unzip: Remove useless .characters() calls
This commit is contained in:
parent
2351bb2db9
commit
1f1383fe1e
Notes:
sideshowbarker
2024-07-17 21:38:08 +09:00
Author: https://github.com/mjz19910 Commit: https://github.com/SerenityOS/serenity/commit/1f1383fe1eb Pull-request: https://github.com/SerenityOS/serenity/pull/11629 Reviewed-by: https://github.com/trflynn89
@ -95,7 +95,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
// but it would be significantly faster and less syscall heavy than seek()/read() at every read.
|
||||
if (st.st_size >= map_size_limit) {
|
||||
warnln("unzip warning: Refusing to map file since it is larger than {}, pass '--map-size-limit {}' to get around this",
|
||||
human_readable_size(map_size_limit).characters(),
|
||||
human_readable_size(map_size_limit),
|
||||
round_up_to_power_of_two(st.st_size, 16));
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user