aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2003-08-07 04:51:41 +0000
committerWarner Losh <imp@FreeBSD.org>2003-08-07 04:51:41 +0000
commit68dd1ff405a4aac17f0cac46d0e80e44c612b7ef (patch)
tree5cb06d9ada3005e6fddcaabf883447d6b3112067 /sbin
parent4a3d43936e7854a0bd7855782d880f595adbf44d (diff)
Notes
Diffstat (limited to 'sbin')
-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 6cfe79b4c3aea..40478cb35ae07 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;