diff options
author | jmg <jmg@FreeBSD.org> | 2003-06-24 08:18:18 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2003-06-24 08:18:18 +0000 |
commit | cb1a37be82ccba1097c3173081001fbadf92364d (patch) | |
tree | 2eb86cae5d24d6fbbc9c6504a5d1b67d70157c9b /usr.bin/fstat/cd9660.c | |
parent | 479c27ecda8a4c3fac6ce64e8db853c07aa12b34 (diff) | |
download | FreeBSD-src-cb1a37be82ccba1097c3173081001fbadf92364d.zip FreeBSD-src-cb1a37be82ccba1097c3173081001fbadf92364d.tar.gz |
fix this code properly. msdosfs can't have device nodes on them.
comment how to read device nodes from ufs (if an adventurous soul wants
to fix it!).
Reviewed by: bde
Diffstat (limited to 'usr.bin/fstat/cd9660.c')
-rw-r--r-- | usr.bin/fstat/cd9660.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/fstat/cd9660.c b/usr.bin/fstat/cd9660.c index a11a9c4..c289a7d 100644 --- a/usr.bin/fstat/cd9660.c +++ b/usr.bin/fstat/cd9660.c @@ -70,7 +70,7 @@ isofs_filestat(vp, fsp) } fsp->fsid = dev2udev(isonode.i_dev); fsp->mode = (mode_t)isonode.inode.iso_mode; - fsp->rdev = isonode.i_dev; + fsp->rdev = isonode.inode.iso_rdev; fsp->fileid = (long)isonode.i_number; fsp->size = (u_long)isonode.i_size; |