diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-05-14 15:16:02 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-05-14 15:16:02 +0000 |
commit | 729b1e09feaecf86a7b5a176fd792e80197c2217 (patch) | |
tree | 9080c010a30fba039fea7fe4c13408bab4fc9510 | |
parent | 8d9f58e42d750661c17a15377fb7a40790df330c (diff) | |
download | FreeBSD-src-729b1e09feaecf86a7b5a176fd792e80197c2217.zip FreeBSD-src-729b1e09feaecf86a7b5a176fd792e80197c2217.tar.gz |
MFC r264385:
Use proper MFSNAMELEN for fs type.
-rw-r--r-- | sys/kern/vfs_mount.c | 2 |
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"); |