From 39622c6739005b55988cb8bc9c0fd1bb07e73c40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 3 Mar 2004 01:10:08 +0000 Subject: [PATCH] sys_get_current_thread_id() is no more. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6882 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/libroot/posix/malloc/arch-specific.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/libroot/posix/malloc/arch-specific.cpp b/src/kernel/libroot/posix/malloc/arch-specific.cpp index 14f224a50f..c92a63ec62 100644 --- a/src/kernel/libroot/posix/malloc/arch-specific.cpp +++ b/src/kernel/libroot/posix/malloc/arch-specific.cpp @@ -41,7 +41,7 @@ status_t release_sem(sem_id id); int hoardGetThreadID (void) { - return sys_get_current_thread_id(); + return find_thread(NULL); }