Author: ed
Date: Sat Feb 28 10:40:37 2009
New Revision: 189150
URL: http://svn.freebsd.org/changeset/base/189150

Log:
  Fix compilation of fstat.
  
  The udev should now be obtained from the dosmount instead of the denode.

Modified:
  head/usr.bin/fstat/msdosfs.c

Modified: head/usr.bin/fstat/msdosfs.c
==============================================================================
--- head/usr.bin/fstat/msdosfs.c        Sat Feb 28 10:38:32 2009        
(r189149)
+++ head/usr.bin/fstat/msdosfs.c        Sat Feb 28 10:40:37 2009        
(r189150)
@@ -110,7 +110,7 @@ msdosfs_filestat(struct vnode *vp, struc
                mnt->kptr = denode.de_pmp;
        }
 
-       fsp->fsid = dev2udev(denode.de_dev);
+       fsp->fsid = dev2udev(mnt->data.pm_dev);
        fsp->mode = 0555;
        fsp->mode |= denode.de_Attributes & ATTR_READONLY ? 0 : 0222;
        fsp->mode &= mnt->data.pm_mask;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to