From: Hermès Bélusca-Maïto Date: Thu, 20 Dec 2018 02:45:43 +0000 (+0100) Subject: [NTOS] Addendum to d8cb37bf: return the correct Status from NtAllocateUuids(). X-Git-Tag: 0.4.13-dev~951 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=f4597b5540e07a2004466cceec6a0aea23ca1a44 [NTOS] Addendum to d8cb37bf: return the correct Status from NtAllocateUuids(). --- diff --git a/ntoskrnl/ex/uuid.c b/ntoskrnl/ex/uuid.c index 375e39f89f9..3c6e4425cb1 100644 --- a/ntoskrnl/ex/uuid.c +++ b/ntoskrnl/ex/uuid.c @@ -398,6 +398,8 @@ NtAllocateUuids(OUT PULARGE_INTEGER Time, RtlCopyMemory(Seed, UuidSeed, SEED_BUFFER_SIZE); + + Status = STATUS_SUCCESS; } _SEH2_EXCEPT(ExSystemExceptionFilter()) { @@ -405,7 +407,7 @@ NtAllocateUuids(OUT PULARGE_INTEGER Time, } _SEH2_END; - return STATUS_SUCCESS; + return Status; }