external/busybox
Révision | 0aeca07b7b12ff2a179ff94dcf405b024cec19a2 (tree) |
---|---|
l'heure | 2020-04-14 08:42:45 |
Auteur | Mauro Rossi <issor.oruam@gmai...> |
Commiter | Mauro Rossi |
top: add the required setup_common_bufsiz() call
Based on 47cfbf32 ("*: add most of the required setup_common_bufsiz() calls")
with changes applied only to top.c
@@ -201,6 +201,7 @@ enum { LINE_BUF_SIZE = COMMON_BUFSIZE - offsetof(struct globals, line_buf) }; | ||
201 | 201 | #define total_pcpu (G.total_pcpu ) |
202 | 202 | #define line_buf (G.line_buf ) |
203 | 203 | #define INIT_G() do { \ |
204 | + setup_common_bufsiz(); \ | |
204 | 205 | BUILD_BUG_ON(sizeof(G) > COMMON_BUFSIZE); \ |
205 | 206 | BUILD_BUG_ON(LINE_BUF_SIZE <= 80); \ |
206 | 207 | } while (0) |