From 631fb2cfe22234bff43681f0455cfca4f23950ee Mon Sep 17 00:00:00 2001 From: couriersud Date: Tue, 6 Jan 2015 15:36:40 +0100 Subject: [PATCH] Fixed linking of chdman (nw) --- src/osd/modules/sync/work_osd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/osd/modules/sync/work_osd.c b/src/osd/modules/sync/work_osd.c index 028e3d7369d..5241f799764 100644 --- a/src/osd/modules/sync/work_osd.c +++ b/src/osd/modules/sync/work_osd.c @@ -267,9 +267,10 @@ osd_work_queue *osd_work_queue_alloc(int flags) allocthreadnum = queue->threads + 1; else allocthreadnum = queue->threads; - +#if 0 + // tools like chdman are not linked with osd_printf_* osd_printf_verbose("osdprocs: %d effecprocs: %d threads: %d allocthreads: %d osdthreads: %d maxthreads: %d queuethreads: %d\n", osd_num_processors, numprocs, threadnum, allocthreadnum, osdthreadnum, WORK_MAX_THREADS, queue->threads); - +#endif queue->thread = (work_thread_info *)osd_malloc_array(allocthreadnum * sizeof(queue->thread[0])); if (queue->thread == NULL) goto error;