From 5214d2fab70f46d590997f5f1c241a8af39d687b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Thu, 17 Dec 2020 01:12:32 +0100 Subject: [PATCH] [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 */