summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_mount.c
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-05-14 15:16:02 +0000
committerbdrewery <bdrewery@FreeBSD.org>2014-05-14 15:16:02 +0000
commit729b1e09feaecf86a7b5a176fd792e80197c2217 (patch)
tree9080c010a30fba039fea7fe4c13408bab4fc9510 /sys/kern/vfs_mount.c
parent8d9f58e42d750661c17a15377fb7a40790df330c (diff)
downloadFreeBSD-src-729b1e09feaecf86a7b5a176fd792e80197c2217.zip
FreeBSD-src-729b1e09feaecf86a7b5a176fd792e80197c2217.tar.gz
MFC r264385:
Use proper MFSNAMELEN for fs type.
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r--sys/kern/vfs_mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index 7dd1c72..8b764f7 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -748,7 +748,7 @@ sys_mount(td, uap)
return (EOPNOTSUPP);
}
- ma = mount_argsu(ma, "fstype", uap->type, MNAMELEN);
+ ma = mount_argsu(ma, "fstype", uap->type, MFSNAMELEN);
ma = mount_argsu(ma, "fspath", uap->path, MNAMELEN);
ma = mount_argb(ma, flags & MNT_RDONLY, "noro");
ma = mount_argb(ma, !(flags & MNT_NOSUID), "nosuid");
OpenPOWER on IntegriCloud