diff options
author | bde <bde@FreeBSD.org> | 1996-06-23 17:19:25 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-06-23 17:19:25 +0000 |
commit | a106d0e3dd99a953bdcac3005d80078b306620cf (patch) | |
tree | edc812cba33ea961519131012999e00f78295dc3 /sys/nfsserver | |
parent | c2649372bd1be425d5c2b51f5c5b82b6a8285046 (diff) | |
download | FreeBSD-src-a106d0e3dd99a953bdcac3005d80078b306620cf.zip FreeBSD-src-a106d0e3dd99a953bdcac3005d80078b306620cf.tar.gz |
Don't truncate minor or major numbers in the nfsv3 client.
Diffstat (limited to 'sys/nfsserver')
-rw-r--r-- | sys/nfsserver/nfs_srvsubs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfsserver/nfs_srvsubs.c b/sys/nfsserver/nfs_srvsubs.c index 9f5215f..3cf21ad 100644 --- a/sys/nfsserver/nfs_srvsubs.c +++ b/sys/nfsserver/nfs_srvsubs.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_subs.c 8.3 (Berkeley) 1/4/94 - * $Id: nfs_subs.c,v 1.28 1996/01/19 03:58:52 dyson Exp $ + * $Id: nfs_subs.c,v 1.29 1996/06/14 11:13:21 phk Exp $ */ /* @@ -1218,8 +1218,8 @@ nfs_loadattrcache(vpp, mdp, dposp, vaper) if (v3) { vtyp = nfsv3tov_type(fp->fa_type); vmode = fxdr_unsigned(u_short, fp->fa_mode); - rdev = makedev(fxdr_unsigned(u_char, fp->fa3_rdev.specdata1), - fxdr_unsigned(u_char, fp->fa3_rdev.specdata2)); + rdev = makedev(fxdr_unsigned(int, fp->fa3_rdev.specdata1), + fxdr_unsigned(int, fp->fa3_rdev.specdata2)); fxdr_nfsv3time(&fp->fa3_mtime, &mtime); } else { vtyp = nfsv2tov_type(fp->fa_type); |