diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 64fdb0147f2e..857c73d62bc8 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -741,10 +741,10 @@ linux_mount(struct thread *td, struct linux_mount_args *args) NULL); if (error) return (error); - error = copyinstr(args->specialfile, mntfromname, MFSNAMELEN - 1, NULL); + error = copyinstr(args->specialfile, mntfromname, MNAMELEN - 1, NULL); if (error) return (error); - error = copyinstr(args->dir, mntonname, MFSNAMELEN - 1, NULL); + error = copyinstr(args->dir, mntonname, MNAMELEN - 1, NULL); if (error) return (error);