]> wimlib.net Git - wimlib/blobdiff - src/write.c
write.c: Warn when falling back to single-threaded compression
[wimlib] / src / write.c
index 0e15da71bffb7b3b7f3ff5f18e4a62b26831fed5..7da18891132f466374a1cd72766e27f7758ade82 100644 (file)
@@ -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