mirror of
https://github.com/sheumann/hush.git
synced 2024-08-26 12:29:04 +00:00
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)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user