summaryrefslogtreecommitdiff
path: root/util-linux/umount.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-10-24 13:28:45 +0200
committerDenys Vlasenko2010-10-24 13:28:45 +0200
commitba04337e1f2d7ff2731959a59b64bc63953e77f4 (patch)
tree2fb8a341c7008cdd1ea3987ba4b074f358b4fd6e /util-linux/umount.c
parent17fc33dfbdf98eb51a5cbf3345337cb4e21d60ac (diff)
downloadbusybox-ba04337e1f2d7ff2731959a59b64bc63953e77f4.zip
busybox-ba04337e1f2d7ff2731959a59b64bc63953e77f4.tar.gz
umount: I forgot to change another PATH_MAX to 4096
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/umount.c')
-rw-r--r--util-linux/umount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/umount.c b/util-linux/umount.c
index 1b489ba..78c6038 100644
--- a/util-linux/umount.c
+++ b/util-linux/umount.c
@@ -101,7 +101,7 @@ int umount_main(int argc UNUSED_PARAM, char **argv)
if (opt & OPT_ALL)
bb_error_msg_and_die("can't open '%s'", bb_path_mtab_file);
} else {
- while (getmntent_r(fp, &me, buf, PATH_MAX * 2 + 128)) {
+ while (getmntent_r(fp, &me, buf, 4096)) {
/* Match fstype if passed */
if (!match_fstype(&me, fstype))
continue;