diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-06-23 03:13:55 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-06-23 03:13:55 +0200 |
| commit | df1f479fc5167d6fa82b127c91a3851c0035fcac (patch) | |
| tree | 64d32992e54d688e6f6ac9d092066e1b0274fc0f /procps | |
| parent | 6eb38fded2f459f2828121a2f6b1499da2677553 (diff) | |
| download | busybox-w32-df1f479fc5167d6fa82b127c91a3851c0035fcac.tar.gz busybox-w32-df1f479fc5167d6fa82b127c91a3851c0035fcac.tar.bz2 busybox-w32-df1f479fc5167d6fa82b127c91a3851c0035fcac.zip | |
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
| -rw-r--r-- | procps/top.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/procps/top.c b/procps/top.c index 5c41e8e10..8d39526ff 100644 --- a/procps/top.c +++ b/procps/top.c | |||
| @@ -979,9 +979,11 @@ static unsigned handle_input(unsigned scan_mask, duration_t interval) | |||
| 979 | IF_FEATURE_TOPMEM(&& scan_mask != TOPMEM_MASK) | 979 | IF_FEATURE_TOPMEM(&& scan_mask != TOPMEM_MASK) |
| 980 | ) { | 980 | ) { |
| 981 | scan_mask ^= PSSCAN_TASKS; | 981 | scan_mask ^= PSSCAN_TASKS; |
| 982 | # if ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE | ||
| 982 | free(prev_hist); | 983 | free(prev_hist); |
| 983 | prev_hist = NULL; | 984 | prev_hist = NULL; |
| 984 | prev_hist_count = 0; | 985 | prev_hist_count = 0; |
| 986 | # endif | ||
| 985 | continue; | 987 | continue; |
| 986 | } | 988 | } |
| 987 | # endif | 989 | # endif |
