diff --git a/drivers/filesystems/cdfs/volinfo.c b/drivers/filesystems/cdfs/volinfo.c index 7448dd58507..f61c9758868 100644 --- a/drivers/filesystems/cdfs/volinfo.c +++ b/drivers/filesystems/cdfs/volinfo.c @@ -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