[SAC] Use NULL for null pointer in last argument in HeadlessDispatch() calls.

This commit is contained in:
Hermès Bélusca-Maïto 2020-12-17 01:12:32 +01:00
parent 5dd0b32799
commit 5214d2fab7
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
2 changed files with 3 additions and 3 deletions

View file

@ -507,7 +507,7 @@ ConMgrProcessInputLine(VOID)
&EnablePaging, &EnablePaging,
sizeof(EnablePaging), sizeof(EnablePaging),
NULL, NULL,
0); NULL);
if (!NT_SUCCESS(Status)) SAC_DBG(SAC_DBG_INIT, "SAC Display Log failed.\n"); if (!NT_SUCCESS(Status)) SAC_DBG(SAC_DBG_INIT, "SAC Display Log failed.\n");
} }
else if (!strncmp(InputBuffer, "cmd", 3)) else if (!strncmp(InputBuffer, "cmd", 3))

View file

@ -247,7 +247,7 @@ InitializeDeviceData(IN PDEVICE_OBJECT DeviceObject)
&EnableData, &EnableData,
sizeof(EnableData), sizeof(EnableData),
NULL, NULL,
0); NULL);
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{ {
/* Bail out if we couldn't even get this far */ /* Bail out if we couldn't even get this far */
@ -332,7 +332,7 @@ InitializeDeviceData(IN PDEVICE_OBJECT DeviceObject)
&EnableData, &EnableData,
sizeof(EnableData), sizeof(EnableData),
NULL, NULL,
0); NULL);
if (!NT_SUCCESS(Status)) SAC_DBG(SAC_DBG_INIT, "Failed dispatch\n"); if (!NT_SUCCESS(Status)) SAC_DBG(SAC_DBG_INIT, "Failed dispatch\n");
/* Bail out */ /* Bail out */