Kernel/SVC: Pass the current thread as a parameter to ClientSession::SendSyncRequest.

This commit is contained in:
Subv 2017-06-29 12:30:34 -05:00
parent c3c9175a1c
commit b53fa9514f
3 changed files with 7 additions and 4 deletions

View file

@ -237,7 +237,7 @@ static ResultCode SendSyncRequest(Kernel::Handle handle) {
// TODO(Subv): svcSendSyncRequest should put the caller thread to sleep while the server
// responds and cause a reschedule.
return session->SendSyncRequest();
return session->SendSyncRequest(Kernel::GetCurrentThread());
}
/// Close a handle