diff --git a/tests/src/no_work.c b/tests/src/no_work.c index 6c8cd53..1616453 100644 --- a/tests/src/no_work.c +++ b/tests/src/no_work.c @@ -12,9 +12,9 @@ int main(int argc, char *argv[]){ puts("This testfile needs excactly one arguments"); exit(1); } - int threads = strtol(argv[1], &p, 10); + int num_threads = strtol(argv[1], &p, 10); - thpool threadpool = thpool_init(threads); + thpool threadpool = thpool_init(num_threads); thpool_destroy(threadpool); sleep(1); // Sometimes main exits before thpool_destroy finished 100%