[COMPBATT] Pass NULL for the work item context, not 0

It expects an arbitrary pointer, do the right thing!
This commit is contained in:
George Bișoc 2024-12-14 21:43:56 +01:00
parent 8b5423aa60
commit 3346301777
No known key found for this signature in database
GPG key ID: 688C4FBE25D7DEF6

View file

@ -183,7 +183,7 @@ CompBattAddNewBattery(
BatteryData);
/* Setup the IRP work entry */
CompBattMonitorIrpComplete(BatteryData->DeviceObject, Irp, 0);
CompBattMonitorIrpComplete(BatteryData->DeviceObject, Irp, NULL);
Status = STATUS_SUCCESS;
}
else