diff --git a/libraries/libmesosphere/source/kern_k_server_session.cpp b/libraries/libmesosphere/source/kern_k_server_session.cpp index 476cbe0ea..f7a33b76a 100644 --- a/libraries/libmesosphere/source/kern_k_server_session.cpp +++ b/libraries/libmesosphere/source/kern_k_server_session.cpp @@ -687,9 +687,9 @@ namespace ams::kern { /* Set the server result. */ if (recv_list_broken) { - return svc::ResultReceiveListBroken(); + result = svc::ResultReceiveListBroken(); } else { - return svc::ResultNotFound(); + result = svc::ResultNotFound(); } }