Author: janderwald
Date: Mon Oct 12 20:20:23 2009
New Revision: 43410
URL:
http://svn.reactos.org/svn/reactos?rev=43410&view=rev
Log:
- Fix typo
Modified:
trunk/reactos/drivers/base/beep/beep.c
Modified: trunk/reactos/drivers/base/beep/beep.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/base/beep/beep.c?r…
==============================================================================
--- trunk/reactos/drivers/base/beep/beep.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/base/beep/beep.c [iso-8859-1] Mon Oct 12 20:20:23 2009
@@ -288,7 +288,7 @@
IoDeleteDevice(DeviceObject);
}
-DRIVER_STARTIO BeepStartIo;
+
VOID
NTAPI
BeepStartIo(IN PDEVICE_OBJECT DeviceObject,
@@ -303,7 +303,7 @@
/* 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);