find_thread() now returns B_NAME_NOT_FOUND when it doesn't find the thread

as stated in the BeBook - this fixes bug #458 as Tracker directly compared
with that error code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17144 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-04-16 17:53:10 +00:00
parent ccc21e3c82
commit 80fda87e9c
1 changed files with 1 additions and 1 deletions

View File

@ -1776,7 +1776,7 @@ find_thread(const char *name)
RELEASE_THREAD_LOCK();
restore_interrupts(state);
return B_ENTRY_NOT_FOUND;
return B_NAME_NOT_FOUND;
}