[MUP] Use _SEH2_AbnormalTermination() instead of _abnormal_termination()
authorHervé Poussineau <hpoussin@reactos.org>
Sun, 7 Apr 2019 16:59:13 +0000 (18:59 +0200)
committerHervé Poussineau <hpoussin@reactos.org>
Sun, 7 Apr 2019 17:28:18 +0000 (19:28 +0200)
We're already using SEH2 macros, so also use SEH2 functions

drivers/filesystems/mup/mup.c

index 64a277a..dfc4e71 100644 (file)
@@ -1248,7 +1248,7 @@ RegisterUncProvider(PDEVICE_OBJECT DeviceObject,
     }
     _SEH2_FINALLY
     {
-        if (_abnormal_termination())
+        if (_SEH2_AbnormalTermination())
         {
             Status = STATUS_INVALID_USER_BUFFER;
         }
@@ -2153,7 +2153,7 @@ CreateRedirectedFile(PIRP Irp,
         }
         _SEH2_FINALLY
         {
-            if (_abnormal_termination())
+            if (_SEH2_AbnormalTermination())
             {
                 MasterQueryContext->LatestStatus = STATUS_INSUFFICIENT_RESOURCES;
             }