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 <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
David Karoly 2021-10-23 21:28:33 +02:00 committed by Adrien Destugues
parent 7da3d33132
commit b05be77d78

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();