summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux/linux_file.c')
-rw-r--r--sys/compat/linux/linux_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c
index 64fdb01..857c73d 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);
OpenPOWER on IntegriCloud