diff options
author | phk <phk@FreeBSD.org> | 1999-07-17 19:38:00 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-07-17 19:38:00 +0000 |
commit | fb0144f561662735ee009149b579e3bb512e0c09 (patch) | |
tree | 1e8d34f6d3c7966db5c6ddeff822e9fc1e9b9193 /sys/kern/vfs_export.c | |
parent | 486d688ee954a18592d35e54080e71289ca7acca (diff) | |
download | FreeBSD-src-fb0144f561662735ee009149b579e3bb512e0c09.zip FreeBSD-src-fb0144f561662735ee009149b579e3bb512e0c09.tar.gz |
Fix 2nd arg to udev2dev().
Diffstat (limited to 'sys/kern/vfs_export.c')
-rw-r--r-- | sys/kern/vfs_export.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index adfefd7..08b0e8a 100644 --- a/sys/kern/vfs_export.c +++ b/sys/kern/vfs_export.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95 - * $Id: vfs_subr.c,v 1.208 1999/07/12 15:02:50 kris Exp $ + * $Id: vfs_subr.c,v 1.209 1999/07/17 18:43:45 phk Exp $ */ /* @@ -1275,7 +1275,7 @@ checkalias(nvp, nvp_rdev, mp) if (nvp->v_type != VBLK && nvp->v_type != VCHR) return (NULLVP); - dev = udev2dev(nvp_rdev, 2); + dev = udev2dev(nvp_rdev, nvp->v_type == VBLK ? 1 : 0); vpp = &speclisth[SPECHASH(dev)]; loop: |