kernel/scheduler: fix compile error when TRACE is enabled

Change-Id: I95da18c9faa343fb3a44c627c1227a778701ebbe
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4653
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
David Karoly
2021-10-24 09:04:19 +00:00
committed by Adrien Destugues
parent 7da3d33132
commit b05be77d78
+1 -1
View File
@@ -118,7 +118,7 @@ enqueue(Thread* thread, bool newOne)
bool rescheduleNeeded = threadData->ChooseCoreAndCPU(targetCore, targetCPU);
TRACE("enqueueing thread %ld with priority %ld on CPU %ld (core %ld)\n",
thread->id, threadPriority, targetCPU->fCPUNumber, targetCore->fCoreID);
thread->id, threadPriority, targetCPU->ID(), targetCore->ID());
threadData->Enqueue();