https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4d1a8f8f54d8e4ea70fc2a20c73228d0fe57fc30

commit 4d1a8f8f54d8e4ea70fc2a20c73228d0fe57fc30
Author:     Hervé Poussineau <hpous...@reactos.org>
AuthorDate: Sun Apr 7 18:59:36 2019 +0200
Commit:     Hervé Poussineau <hpous...@reactos.org>
CommitDate: Sun Apr 7 19:28:18 2019 +0200

    [NTOS:FSRTL] Use _SEH2_AbnormalTermination() instead of 
_abnormal_termination()
    
    We're already using SEH2 macros, so also use SEH2 functions
---
 ntoskrnl/fsrtl/oplock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ntoskrnl/fsrtl/oplock.c b/ntoskrnl/fsrtl/oplock.c
index 7ab457d399..f89adc465c 100644
--- a/ntoskrnl/fsrtl/oplock.c
+++ b/ntoskrnl/fsrtl/oplock.c
@@ -566,7 +566,7 @@ FsRtlAllocateOplock(VOID)
     _SEH2_FINALLY
     {
         /* In case of abnormal termination, it means either OPLOCK or 
FAST_MUTEX allocation failed */
-        if (_abnormal_termination())
+        if (_SEH2_AbnormalTermination())
         {
             /* That FAST_MUTEX, free OPLOCK */
             if (Oplock != NULL)

Reply via email to