https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f766ca5e4270e37f3fb1a…
commit f766ca5e4270e37f3fb1acd707dc909ec405e05c
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Mon Nov 22 00:15:53 2021 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Mon Nov 22 00:16:32 2021 +0100
[SMSS] Use NULL for NULL pointers.
---
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 0da3fa6e741..6e9fb6081c0 100644
--- a/base/system/smss/smss.c
+++ b/base/system/smss/smss.c
@@ -305,7 +305,7 @@ SmpExecuteInitialCommand(IN ULONG MuSessionId,
if (!SmApiPort)
{
/* Connect to ourselves, as a client */
- Status = SmConnectToSm(0, 0, 0, &SmApiPort);
+ Status = SmConnectToSm(NULL, NULL, 0, &SmApiPort);
if (!NT_SUCCESS(Status))
{
DPRINT1("SMSS: Unable to connect to SM - Status == %lx\n",
Status);