From: Eric Biggers Date: Sun, 26 Oct 2014 23:50:49 +0000 (-0500) Subject: write.c: Warn when falling back to single-threaded compression X-Git-Tag: v1.7.3~7 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=0275de680bf2c36769eba45822d5b85c7092da88 write.c: Warn when falling back to single-threaded compression --- diff --git a/src/write.c b/src/write.c index 0e15da71..7da18891 100644 --- a/src/write.c +++ b/src/write.c @@ -1603,9 +1603,10 @@ write_stream_list(struct list_head *stream_list, out_chunk_size, num_threads, 0, &ctx.compressor); - if (ret) { - DEBUG("Couldn't create parallel chunk compressor " - "(status %d)", ret); + if (ret > 0) { + WARNING("Couldn't create parallel chunk compressor: %"TS".\n" + " Falling back to single-threaded compression.", + wimlib_get_error_string(ret)); } } #endif