From 8345f31c2a120a06d35e32bf85b5379613945968 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Wed, 27 Mar 2019 21:56:13 +0100 Subject: [PATCH] Fix wrong result code returned in GetServiceHandle --- sysmodules/sm/source/services.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysmodules/sm/source/services.c b/sysmodules/sm/source/services.c index 0cb22b8..c36c35c 100644 --- a/sysmodules/sm/source/services.c +++ b/sysmodules/sm/source/services.c @@ -184,7 +184,7 @@ Result GetServiceHandle(SessionData *sessionData, Handle *session, const char *n return 0xD0406402; } - return 0; + return res; } }