https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5214d2fab70f46d590997…
commit 5214d2fab70f46d590997f5f1c241a8af39d687b
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Thu Dec 17 01:12:32 2020 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun Dec 27 00:51:58 2020 +0100
[SAC] Use NULL for null pointer in last argument in HeadlessDispatch() calls.
---
drivers/sac/driver/conmgr.c | 2 +-
drivers/sac/driver/data.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/sac/driver/conmgr.c b/drivers/sac/driver/conmgr.c
index 86b445eeb61..681c1baec77 100644
--- a/drivers/sac/driver/conmgr.c
+++ b/drivers/sac/driver/conmgr.c
@@ -507,7 +507,7 @@ ConMgrProcessInputLine(VOID)
&EnablePaging,
sizeof(EnablePaging),
NULL,
- 0);
+ NULL);
if (!NT_SUCCESS(Status)) SAC_DBG(SAC_DBG_INIT, "SAC Display Log
failed.\n");
}
else if (!strncmp(InputBuffer, "cmd", 3))
diff --git a/drivers/sac/driver/data.c b/drivers/sac/driver/data.c
index 3dcb70ef429..d7f1ae09d09 100644
--- a/drivers/sac/driver/data.c
+++ b/drivers/sac/driver/data.c
@@ -247,7 +247,7 @@ InitializeDeviceData(IN PDEVICE_OBJECT DeviceObject)
&EnableData,
sizeof(EnableData),
NULL,
- 0);
+ NULL);
if (!NT_SUCCESS(Status))
{
/* Bail out if we couldn't even get this far */
@@ -332,7 +332,7 @@ InitializeDeviceData(IN PDEVICE_OBJECT DeviceObject)
&EnableData,
sizeof(EnableData),
NULL,
- 0);
+ NULL);
if (!NT_SUCCESS(Status)) SAC_DBG(SAC_DBG_INIT, "Failed dispatch\n");
/* Bail out */