svn commit: r189150 - head/usr.bin/fstat
Ed Schouten
ed at FreeBSD.org
Sat Feb 28 02:40:38 PST 2009
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;
More information about the svn-src-head
mailing list