[SMSS] Use NULL for NULL pointers.

This commit is contained in:
Hermès Bélusca-Maïto 2021-11-22 00:15:53 +01:00
parent c17aeec031
commit f766ca5e42
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -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);