diff options
Diffstat (limited to 'util-linux/umount.c')
-rw-r--r-- | util-linux/umount.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/umount.c b/util-linux/umount.c index 30bef1686..be0300394 100644 --- a/util-linux/umount.c +++ b/util-linux/umount.c | |||
@@ -34,6 +34,7 @@ | |||
34 | # define MNT_DETACH 0x00000002 | 34 | # define MNT_DETACH 0x00000002 |
35 | #endif | 35 | #endif |
36 | #include "libbb.h" | 36 | #include "libbb.h" |
37 | #include "common_bufsiz.h" | ||
37 | 38 | ||
38 | #if defined(__dietlibc__) | 39 | #if defined(__dietlibc__) |
39 | // TODO: This does not belong here. | 40 | // TODO: This does not belong here. |
@@ -102,7 +103,7 @@ int umount_main(int argc UNUSED_PARAM, char **argv) | |||
102 | if (opt & OPT_ALL) | 103 | if (opt & OPT_ALL) |
103 | bb_error_msg_and_die("can't open '%s'", bb_path_mtab_file); | 104 | bb_error_msg_and_die("can't open '%s'", bb_path_mtab_file); |
104 | } else { | 105 | } else { |
105 | while (getmntent_r(fp, &me, bb_common_bufsiz1, sizeof(bb_common_bufsiz1))) { | 106 | while (getmntent_r(fp, &me, bb_common_bufsiz1, COMMON_BUFSIZE)) { |
106 | /* Match fstype if passed */ | 107 | /* Match fstype if passed */ |
107 | if (!match_fstype(&me, fstype)) | 108 | if (!match_fstype(&me, fstype)) |
108 | continue; | 109 | continue; |