Commit e47b5b77 authored by Sergey Lyubka's avatar Sergey Lyubka

Squashed warning

parent c15e2af8
......@@ -5192,7 +5192,7 @@ struct mg_context *mg_start(const struct mg_callbacks *callbacks,
// Start worker threads
for (i = 0; i < atoi(ctx->config[NUM_THREADS]); i++) {
if (mg_start_thread(worker_thread, ctx) != 0) {
cry(fc(ctx), "Cannot start worker thread: %ld", ERRNO);
cry(fc(ctx), "Cannot start worker thread: %ld", (long) ERRNO);
} else {
ctx->num_threads++;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment