ntdll: FAT filesystems are called "msdosfs" on FreeBSD >= 5.

Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Damjan Jovanovic 2020-11-10 06:49:46 +02:00 committed by Alexandre Julliard
parent 4e6621f3a6
commit d1c8611886
1 changed files with 3 additions and 1 deletions

View File

@ -6349,7 +6349,9 @@ NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, IO_STATUS_BLOCK *io
fs_type = MOUNTMGR_FS_TYPE_ISO9660;
else if (!strcmp( stfs.f_fstypename, "udf" ))
fs_type = MOUNTMGR_FS_TYPE_UDF;
else if (!strcmp( stfs.f_fstypename, "msdos" ))
else if (!strcmp( stfs.f_fstypename, "msdos" )) /* FreeBSD < 5, Apple */
fs_type = MOUNTMGR_FS_TYPE_FAT32;
else if (!strcmp( stfs.f_fstypename, "msdosfs" )) /* FreeBSD >= 5 */
fs_type = MOUNTMGR_FS_TYPE_FAT32;
#endif
}