diff options
Diffstat (limited to 'e2fsprogs/fsck.c')
-rw-r--r-- | e2fsprogs/fsck.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index 987d97528..59514a1a6 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c | |||
@@ -60,6 +60,7 @@ | |||
60 | //usage: "\n -t TYPE List of filesystem types to check" | 60 | //usage: "\n -t TYPE List of filesystem types to check" |
61 | 61 | ||
62 | #include "libbb.h" | 62 | #include "libbb.h" |
63 | #include "common_bufsiz.h" | ||
63 | 64 | ||
64 | /* "progress indicator" code is somewhat buggy and ext[23] specific. | 65 | /* "progress indicator" code is somewhat buggy and ext[23] specific. |
65 | * We should be filesystem agnostic. IOW: there should be a well-defined | 66 | * We should be filesystem agnostic. IOW: there should be a well-defined |
@@ -169,8 +170,9 @@ struct globals { | |||
169 | struct fs_info *filesys_last; | 170 | struct fs_info *filesys_last; |
170 | struct fsck_instance *instance_list; | 171 | struct fsck_instance *instance_list; |
171 | } FIX_ALIASING; | 172 | } FIX_ALIASING; |
172 | #define G (*(struct globals*)&bb_common_bufsiz1) | 173 | #define G (*(struct globals*)bb_common_bufsiz1) |
173 | #define INIT_G() do { \ | 174 | #define INIT_G() do { \ |
175 | setup_common_bufsiz(); \ | ||
174 | BUILD_BUG_ON(sizeof(G) > COMMON_BUFSIZE); \ | 176 | BUILD_BUG_ON(sizeof(G) > COMMON_BUFSIZE); \ |
175 | } while (0) | 177 | } while (0) |
176 | 178 | ||