aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
Diffstat (limited to 'procps')
-rw-r--r--procps/top.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c
index 7f1c83fc1..0da742f0b 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -82,10 +82,12 @@ struct globals {
82 /* int hist_iterations; */ 82 /* int hist_iterations; */
83 unsigned total_pcpu; 83 unsigned total_pcpu;
84 /* unsigned long total_vsz; */ 84 /* unsigned long total_vsz; */
85 char line_buf[80];
86#endif 85#endif
86 char line_buf[80];
87}; 87};
88
88enum { LINE_BUF_SIZE = COMMON_BUFSIZE - offsetof(struct globals, line_buf) }; 89enum { LINE_BUF_SIZE = COMMON_BUFSIZE - offsetof(struct globals, line_buf) };
90
89#define G (*(struct globals*)&bb_common_bufsiz1) 91#define G (*(struct globals*)&bb_common_bufsiz1)
90#define INIT_G() \ 92#define INIT_G() \
91 do { \ 93 do { \