fixed call to thread_get_current_thread_id()

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2014 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Daniel Reinhold 2002-11-19 06:44:51 +00:00
parent 690fa06644
commit 89feafabe5

View File

@ -1426,7 +1426,7 @@ sys_exit_thread(status_t return_value)
thread_id
sys_get_current_thread_id()
{
return thread_get_current_thread()->id;
return thread_get_current_thread_id();
}