[NTOS] Use KeClearEvent instead of KeResetEvent where the previous state is not needed.
[reactos.git] / ntoskrnl / io / iomgr / rawfs.c
index 8ade9a7..062c1fb 100644 (file)
@@ -833,7 +833,7 @@ RawQueryFsSizeInfo(IN PVCB Vcb,
     else
     {
         /* Setup query IRP */
-        KeResetEvent(&Event);
+        KeClearEvent(&Event);
         Irp = IoBuildDeviceIoControlRequest(IOCTL_DISK_GET_PARTITION_INFO,
                                             RealDevice,
                                             NULL,