From: John Hodge Date: Tue, 31 Jul 2012 11:48:34 +0000 (+0800) Subject: Kernel - (minor) Changed log type for GetThreadByID failure X-Git-Tag: rel0.15~706^2~89 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=8e1b1a8a5718a612b8978326b850f31ad153a9da;p=tpg%2Facess2.git Kernel - (minor) Changed log type for GetThreadByID failure --- diff --git a/KernelLand/Kernel/threads.c b/KernelLand/Kernel/threads.c index 60996211..17cccca1 100644 --- a/KernelLand/Kernel/threads.c +++ b/KernelLand/Kernel/threads.c @@ -504,15 +504,13 @@ tThread *Threads_GetThread(Uint TID) tThread *thread; // Search global list - for(thread = gAllThreads; - thread; - thread = thread->GlobalNext) + for( thread = gAllThreads; thread; thread = thread->GlobalNext ) { if(thread->TID == TID) return thread; } - Log("Unable to find TID %i on main list\n", TID); + Log_Notice("Threads", "Unable to find TID %i on main list\n", TID); return NULL; }