Skip to content

Commit

Permalink
[sce_sys] Add EFAULT in sys_evf_cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
elad335 committed Jul 15, 2023
1 parent 3dbf146 commit 91ccd75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orbis-kernel/src/sys/sys_sce.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ orbis::SysResult orbis::sys_evf_cancel(Thread *thread, sint id, uint64_t value,

auto numWaitThreads = evf->cancel(value);
if (pNumWaitThreads != nullptr) {
*pNumWaitThreads = numWaitThreads;
return uwrite(pNumWaitThreads, static_cast<sint>(numWaitThreads));
}
return {};
}
Expand Down

0 comments on commit 91ccd75

Please sign in to comment.