Cosmetic: Adjust 'Magic value 0x0701' DeviceExtension size condition
authorshort <>
Sat, 29 Mar 2003 17:04:03 +0000 (17:04 +0000)
committershort <>
Sat, 29 Mar 2003 17:04:03 +0000 (17:04 +0000)
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 */