Merge branch 'master' of git://localhost/acess2
[tpg/acess2.git] / KernelLand / Kernel / threads.c
index 6099621..17cccca 100644 (file)
@@ -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;
 }

UCC git Repository :: git.ucc.asn.au