umount: I forgot to change another PATH_MAX to 4096
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
17fc33dfbd
commit
ba04337e1f
@ -101,7 +101,7 @@ int umount_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
if (opt & OPT_ALL)
|
if (opt & OPT_ALL)
|
||||||
bb_error_msg_and_die("can't open '%s'", bb_path_mtab_file);
|
bb_error_msg_and_die("can't open '%s'", bb_path_mtab_file);
|
||||||
} else {
|
} else {
|
||||||
while (getmntent_r(fp, &me, buf, PATH_MAX * 2 + 128)) {
|
while (getmntent_r(fp, &me, buf, 4096)) {
|
||||||
/* Match fstype if passed */
|
/* Match fstype if passed */
|
||||||
if (!match_fstype(&me, fstype))
|
if (!match_fstype(&me, fstype))
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user