mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Update displayed compression window to match what will be used.
This commit is contained in:
parent
f81f8c68c7
commit
271e97d8be
2
main.c
2
main.c
|
|
@ -279,7 +279,7 @@ static void show_summary(void)
|
|||
if (STDOUT || STDIN)
|
||||
temp_chunk = control.maxram;
|
||||
else
|
||||
temp_chunk = control.maxram * 2;
|
||||
temp_chunk = control.ramsize * 2 / 3;
|
||||
temp_window = temp_chunk / (100 * 1024 * 1024);
|
||||
print_verbose("Heuristically Computed Compression Window: %lld = %lldMB\n", temp_window, temp_window * 100ull);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue