Log the filesystem type to help debug CD detection issues

Francois Gouget fgouget at codeweavers.com
Thu Jun 15 10:44:14 CDT 2006


Changelog:

  * dlls/ntdll/file.c

    Francois Gouget <fgouget at codeweavers.com>
    Log the filesystem type to help debug CD detection issues.

-- 
Francois Gouget
fgouget at codeweavers.com

-------------- next part --------------
Index: dlls/ntdll/file.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/file.c,v
retrieving revision 1.123
diff -u -p -r1.123 file.c
--- dlls/ntdll/file.c	27 May 2006 11:37:00 -0000	1.123
+++ dlls/ntdll/file.c	15 Jun 2006 08:35:26 -0000
@@ -1605,6 +1605,7 @@ NTSTATUS FILE_GetDeviceInfo( int fd, FIL
             info->Characteristics |= FILE_REMOVABLE_MEDIA;
 
         if (fstatfs( fd, &stfs ) < 0) stfs.f_type = 0;
+        TRACE("filesystem type: %08x\n", stfs.f_type);
         switch (stfs.f_type)
         {
         case 0x9660:      /* iso9660 */


More information about the wine-patches mailing list