[CDFS] Addendum to 5429771b, 6c733856 and 3c64b4cb (r75579): When the CDFS driver...
[reactos.git] / drivers / filesystems / cdfs / volinfo.c
index 7448dd5..f61c975 100644 (file)
@@ -418,7 +418,11 @@ Return Value:
     //
 
     Buffer->Characteristics = Vcb->TargetDeviceObject->Characteristics;
+#ifndef __REACTOS__
     Buffer->DeviceType = FILE_DEVICE_CD_ROM;
+#else
+    Buffer->DeviceType = Vcb->TargetDeviceObject->DeviceType;
+#endif
 
     //
     //  Adjust the length variable