ntdll: Use st_rdev for special devices in get_mountmgr_fs_info.

Signed-off-by: Erich E. Hoover <erich.e.hoover@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Erich E. Hoover 2021-02-11 15:27:51 -07:00 committed by Alexandre Julliard
parent dbcbc8c765
commit 09c67c4809
1 changed files with 1 additions and 1 deletions

View File

@ -1968,7 +1968,7 @@ static NTSTATUS get_mountmgr_fs_info( HANDLE handle, int fd, struct mountmgr_uni
struct stat st;
fstat( fd, &st );
drive->unix_dev = st.st_dev;
drive->unix_dev = st.st_rdev ? st.st_rdev : st.st_dev;
drive->letter = 0;
}
else