Fixed linking of chdman (nw)

This commit is contained in:
couriersud 2015-01-06 15:36:40 +01:00
parent a9dd18d348
commit 631fb2cfe2

View File

@ -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;