Commit 09c67c48 authored by Erich E. Hoover's avatar Erich E. Hoover Committed by Alexandre Julliard

ntdll: Use st_rdev for special devices in get_mountmgr_fs_info.

parent dbcbc8c7
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment