diff options
-rw-r--r-- | util-linux/umount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/umount.c b/util-linux/umount.c index 1b489ba56..78c603856 100644 --- a/util-linux/umount.c +++ b/util-linux/umount.c | |||
@@ -101,7 +101,7 @@ int umount_main(int argc UNUSED_PARAM, char **argv) | |||
101 | if (opt & OPT_ALL) | 101 | if (opt & OPT_ALL) |
102 | bb_error_msg_and_die("can't open '%s'", bb_path_mtab_file); | 102 | bb_error_msg_and_die("can't open '%s'", bb_path_mtab_file); |
103 | } else { | 103 | } else { |
104 | while (getmntent_r(fp, &me, buf, PATH_MAX * 2 + 128)) { | 104 | while (getmntent_r(fp, &me, buf, 4096)) { |
105 | /* Match fstype if passed */ | 105 | /* Match fstype if passed */ |
106 | if (!match_fstype(&me, fstype)) | 106 | if (!match_fstype(&me, fstype)) |
107 | continue; | 107 | continue; |