https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cb8c8693e0907cbd9be9a…
commit cb8c8693e0907cbd9be9a7235ed62c5f77adb5cf
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Oct 23 18:38:56 2022 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Wed Oct 26 00:44:41 2022 +0200
[SMSS] Initial SmpInit() call initializes the *first handle* (index 0) in the array.
---
base/system/smss/smss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/system/smss/smss.c b/base/system/smss/smss.c
index 27b8306b87e..d568becc6dc 100644
--- a/base/system/smss/smss.c
+++ b/base/system/smss/smss.c
@@ -472,7 +472,7 @@ _main(IN INT argc,
_SEH2_TRY
{
/* Initialize SMSS */
- Status = SmpInit(&InitialCommand, Handles);
+ Status = SmpInit(&InitialCommand, &Handles[0]);
if (!NT_SUCCESS(Status))
{
DPRINT1("SMSS: SmpInit return failure - Status == %x\n", Status);