]> wimlib.net Git - wimlib/blobdiff - src/compress_parallel.c
Fix a few format strings
[wimlib] / src / compress_parallel.c
index eeb9f6f242dbcd2575dc983e2477e6955e94071b..c99c0a86826bc66b841a45ffe1224f57e195f6ab 100644 (file)
@@ -531,7 +531,9 @@ new_parallel_chunk_compressor(int out_ctype, u32 out_chunk_size,
                if (ret) {
                        errno = ret;
                        ret = WIMLIB_ERR_NOMEM;
-                       WARNING_WITH_ERRNO("Failed to create compressor thread %u of %u");
+                       WARNING_WITH_ERRNO("Failed to create compressor thread %u of %u",
+                                          ctx->num_started_threads + 1,
+                                          num_threads);
                        goto err;
                }
        }