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:
parent
ccc21e3c82
commit
80fda87e9c
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user