diff --git a/src/system/kernel/locks/user_mutex.cpp b/src/system/kernel/locks/user_mutex.cpp index c430008e59..055ba459ea 100644 --- a/src/system/kernel/locks/user_mutex.cpp +++ b/src/system/kernel/locks/user_mutex.cpp @@ -472,6 +472,7 @@ struct UserMutexContextFetcher { Team* team = thread_get_current_thread()->team; team->Lock(); fInitStatus = allocate_team_user_mutex_context(team); + fContext = team->user_mutex_context; team->Unlock(); if (fInitStatus != B_OK) return;