mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-23 04:12:02 +00:00
kern: style parity for return in GetThreadList
This commit is contained in:
parent
96c3dfee14
commit
9bc2c0c0c5
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ namespace ams::kern::svc {
|
|||
|
||||
if (debug_handle == ams::svc::InvalidHandle) {
|
||||
/* If passed invalid handle, we should return the global thread list. */
|
||||
return KThread::GetThreadList(out_num_threads, out_thread_ids, max_out_count);
|
||||
R_TRY(KThread::GetThreadList(out_num_threads, out_thread_ids, max_out_count));
|
||||
} else {
|
||||
/* Get the handle table. */
|
||||
auto &handle_table = GetCurrentProcess().GetHandleTable();
|
||||
|
|
Loading…
Reference in a new issue