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:
parent
dbcbc8c765
commit
09c67c4809
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue