From b05be77d7855176face52d86104fadd4ab19be37 Mon Sep 17 00:00:00 2001 From: David Karoly Date: Sat, 23 Oct 2021 21:28:33 +0200 Subject: [PATCH] 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 Reviewed-by: Adrien Destugues --- src/system/kernel/scheduler/scheduler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/scheduler/scheduler.cpp b/src/system/kernel/scheduler/scheduler.cpp index 4d2df07765..0c69aa6c7c 100644 --- a/src/system/kernel/scheduler/scheduler.cpp +++ b/src/system/kernel/scheduler/scheduler.cpp @@ -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();