mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue