diff --git a/src/scheduler.c b/src/scheduler.c index 184a219..b3a02ef 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -88,9 +88,9 @@ static void *GreatScheduler(void *params) printLog("%d CPUs available.\n", ncpu); Thread_t *workerArray = (Thread_t*) malloc(sizeof(Thread_t) * 3 * ncpu); - Center_t *centersArray = (Center_t*) malloc(sizeof(Center_t)); + Center_t *centersList = (Center_t*) malloc(sizeof(Center_t)); - centerAssign(centersArray, -1, -1, -1); + centerAssign(centersList, -1, -1, -1); return NULL; }