From 9bc2c0c0c51f273a6dc113fb88d755d087fc80a8 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 30 Jul 2020 16:53:45 -0700 Subject: [PATCH] kern: style parity for return in GetThreadList --- libraries/libmesosphere/source/svc/kern_svc_thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libmesosphere/source/svc/kern_svc_thread.cpp b/libraries/libmesosphere/source/svc/kern_svc_thread.cpp index e7a3136f6..7bd9dfd1d 100644 --- a/libraries/libmesosphere/source/svc/kern_svc_thread.cpp +++ b/libraries/libmesosphere/source/svc/kern_svc_thread.cpp @@ -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();