From 75f90688fb2dec0f897cad8be8b92be725c5016b Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Tue, 14 Jun 2016 16:19:37 -0400 Subject: RT4526: Call TerminateProcess, not ExitProcess Reviewed-by: Richard Levitte (cherry picked from commit 9c1a9ccf65d0ea1912675d3a622fa8e51b524b9e) --- ms/uplink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ms') diff --git a/ms/uplink.c b/ms/uplink.c index e58ab9d8f5..c5c9cd4f71 100644 --- a/ms/uplink.c +++ b/ms/uplink.c @@ -19,7 +19,7 @@ static TCHAR msg[128]; static void unimplemented(void) { OPENSSL_showfatal(sizeof(TCHAR) == sizeof(char) ? "%s\n" : "%S\n", msg); - ExitProcess(1); + TerminateProcess(GetCurrentProcess(), 1); } void OPENSSL_Uplink(volatile void **table, int index) -- cgit v1.2.3