summaryrefslogtreecommitdiff
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 640bcdc..73cd285 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -265,9 +265,9 @@ static int mult_lvl_cmp(void* a, void* b)
static NOINLINE int read_cpu_jiffy(FILE *fp, jiffy_counts_t *p_jif)
{
#if !ENABLE_FEATURE_TOP_SMP_CPU
- static const char fmt[] = "cpu %llu %llu %llu %llu %llu %llu %llu %llu";
+ static const char fmt[] ALIGN1 = "cpu %llu %llu %llu %llu %llu %llu %llu %llu";
#else
- static const char fmt[] = "cp%*s %llu %llu %llu %llu %llu %llu %llu %llu";
+ static const char fmt[] ALIGN1 = "cp%*s %llu %llu %llu %llu %llu %llu %llu %llu";
#endif
int ret;
@@ -519,7 +519,7 @@ enum {
static void parse_meminfo(unsigned long meminfo[MI_MAX])
{
- static const char fields[] =
+ static const char fields[] ALIGN1 =
"MemTotal\0"
"MemFree\0"
"MemShared\0"