summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
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