Cosmetic: Adjust 'Magic value 0x0701' DeviceExtension size condition
[reactos.git] / ntoskrnl / io / device.c
index 4432332..1860ae9 100644 (file)
@@ -744,7 +744,7 @@ IoCreateDevice(PDRIVER_OBJECT DriverObject,
 #ifdef LIBCAPTIVE
   /* Magic value expected by ntfs.sys NT5.1sp1 _NtfsInitializeIrpContext()
    */
-  if (DeviceExtensionSize>=0x30)
+  if (DeviceExtensionSize>=0x2A)
     *(USHORT *)(((UCHAR *)CreatedDeviceObject->DeviceExtension)+0x28)=0x0701;
 #endif /* LIBCAPTIVE */