mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
- Fix typo
svn path=/trunk/; revision=43410
This commit is contained in:
parent
a3615254ed
commit
9b46acbff0
|
@ -288,7 +288,7 @@ BeepUnload(IN PDRIVER_OBJECT DriverObject)
|
|||
IoDeleteDevice(DeviceObject);
|
||||
}
|
||||
|
||||
DRIVER_STARTIO BeepStartIo;
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
BeepStartIo(IN PDEVICE_OBJECT DeviceObject,
|
||||
|
@ -303,7 +303,7 @@ BeepStartIo(IN PDEVICE_OBJECT DeviceObject,
|
|||
|
||||
/* Acquire the cancel lock and make sure the IRP is valid */
|
||||
IoAcquireCancelSpinLock(&CancelIrql);
|
||||
if (!Irp)
|
||||
if (Irp->Cancel)
|
||||
{
|
||||
/* It's not, release the lock and quit */
|
||||
IoReleaseCancelSpinLock(CancelIrql);
|
||||
|
|
Loading…
Reference in a new issue