unzip: Remove useless .characters() calls

This commit is contained in:
mjz19910 2022-01-04 16:46:47 -07:00 committed by Brian Gianforcaro
parent 2351bb2db9
commit 1f1383fe1e
Notes: sideshowbarker 2024-07-17 21:38:08 +09:00

View file

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