summaryrefslogtreecommitdiffstats
path: root/sbin/mount
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/mount')
-rw-r--r--sbin/mount/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c
index 6cfe79b..40478cb 100644
--- a/sbin/mount/mount.c
+++ b/sbin/mount/mount.c
@@ -398,7 +398,7 @@ mountfs(vfstype, spec, name, flags, options, mntopts)
struct statfs sf;
pid_t pid;
int argc, i, status;
- char *optbuf, execname[MAXPATHLEN + 1], mntpath[MAXPATHLEN];
+ char *optbuf, execname[PATH_MAX], mntpath[PATH_MAX];
#if __GNUC__
(void)&optbuf;
OpenPOWER on IntegriCloud