summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2001-06-13 18:58:11 +0000
committermjacob <mjacob@FreeBSD.org>2001-06-13 18:58:11 +0000
commita14c63022ea3864c4a81b8b73e1301d137c39454 (patch)
tree3bc5e90df8bedbd284bf9ada3ea4f60f8cab00c8 /sys/fs
parent34d0670980032e9edaf6585f0a78e8fceac30c1c (diff)
downloadFreeBSD-src-a14c63022ea3864c4a81b8b73e1301d137c39454.zip
FreeBSD-src-a14c63022ea3864c4a81b8b73e1301d137c39454.tar.gz
the last argument to copyinstr is of t ype size_t, not u_int
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/nullfs/null_vfsops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c
index e2287ef..f707751 100644
--- a/sys/fs/nullfs/null_vfsops.c
+++ b/sys/fs/nullfs/null_vfsops.c
@@ -96,7 +96,7 @@ nullfs_mount(mp, path, data, ndp, p)
struct vnode *lowerrootvp, *vp;
struct vnode *nullm_rootvp;
struct null_mount *xmp;
- u_int size;
+ size_t size;
int isvnunlocked = 0;
NULLFSDEBUG("nullfs_mount(mp = %p)\n", (void *)mp);
@@ -196,8 +196,8 @@ nullfs_mount(mp, path, data, ndp, p)
mp->mnt_data = (qaddr_t) xmp;
vfs_getnewfsid(mp);
- (void) copyinstr(args.target, mp->mnt_stat.f_mntfromname, MNAMELEN - 1,
- &size);
+ (void) copyinstr(args.target, mp->mnt_stat.f_mntfromname,
+ MNAMELEN - 1, &size);
bzero(mp->mnt_stat.f_mntfromname + size, MNAMELEN - size);
(void)nullfs_statfs(mp, &mp->mnt_stat, p);
NULLFSDEBUG("nullfs_mount: lower %s, alias at %s\n",
OpenPOWER on IntegriCloud