aboutsummaryrefslogtreecommitdiff
path: root/procps/top.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/top.c')
-rw-r--r--procps/top.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/procps/top.c b/procps/top.c
index 640bcdc6d..73cd285f0 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -265,9 +265,9 @@ static int mult_lvl_cmp(void* a, void* b)
265static NOINLINE int read_cpu_jiffy(FILE *fp, jiffy_counts_t *p_jif) 265static NOINLINE int read_cpu_jiffy(FILE *fp, jiffy_counts_t *p_jif)
266{ 266{
267#if !ENABLE_FEATURE_TOP_SMP_CPU 267#if !ENABLE_FEATURE_TOP_SMP_CPU
268 static const char fmt[] = "cpu %llu %llu %llu %llu %llu %llu %llu %llu"; 268 static const char fmt[] ALIGN1 = "cpu %llu %llu %llu %llu %llu %llu %llu %llu";
269#else 269#else
270 static const char fmt[] = "cp%*s %llu %llu %llu %llu %llu %llu %llu %llu"; 270 static const char fmt[] ALIGN1 = "cp%*s %llu %llu %llu %llu %llu %llu %llu %llu";
271#endif 271#endif
272 int ret; 272 int ret;
273 273
@@ -519,7 +519,7 @@ enum {
519 519
520static void parse_meminfo(unsigned long meminfo[MI_MAX]) 520static void parse_meminfo(unsigned long meminfo[MI_MAX])
521{ 521{
522 static const char fields[] = 522 static const char fields[] ALIGN1 =
523 "MemTotal\0" 523 "MemTotal\0"
524 "MemFree\0" 524 "MemFree\0"
525 "MemShared\0" 525 "MemShared\0"