projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17fc33d
)
umount: I forgot to change another PATH_MAX to 4096
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 24 Oct 2010 11:28:45 +0000
(13:28 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 24 Oct 2010 11:28:45 +0000
(13:28 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/umount.c
patch
|
blob
|
history
diff --git
a/util-linux/umount.c
b/util-linux/umount.c
index 1b489ba5630b06576df951c171f748f4ccfb220c..78c603856aa59646aa1ba50fbbedf16b70c3eef6 100644
(file)
--- 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;