summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author couriersud <couriersud@arcor.de>2015-01-06 15:36:40 +0100
committer couriersud <couriersud@arcor.de>2015-01-06 15:36:40 +0100
commit631fb2cfe22234bff43681f0455cfca4f23950ee (patch)
tree063f8b0e0d7c552b258d588a0f01d6ca4c09d8af
parenta9dd18d348c6fad4a399fad261a39507f3e8662b (diff)
Fixed linking of chdman (nw)
-rw-r--r--src/osd/modules/sync/work_osd.c5
1 files 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;