Use proper MFSNAMELEN for fs type.
MFC after: 2 weeks Reviewed by: rodrigc Also spotted by:ambrisko
This commit is contained in:
parent
a59ff25642
commit
97c0df733f
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user