aboutsummaryrefslogtreecommitdiff
path: root/src/xz
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/xz/coder.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xz/coder.c b/src/xz/coder.c
index 4f883af4..316f5609 100644
--- a/src/xz/coder.c
+++ b/src/xz/coder.c
@@ -199,6 +199,10 @@ coder_set_compression_settings(void)
mt_options.check = check;
memory_usage = lzma_stream_encoder_mt_memusage(
&mt_options);
+ if (memory_usage != UINT64_MAX)
+ message(V_DEBUG, _("Using up to %" PRIu32
+ " threads."),
+ mt_options.threads);
} else
#endif
{