diff options
Diffstat (limited to 'procps/top.c')
-rw-r--r-- | procps/top.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/procps/top.c b/procps/top.c index fc393d43b..4df58f227 100644 --- a/procps/top.c +++ b/procps/top.c | |||
@@ -594,20 +594,20 @@ static void display_topmem_header(int scr_width) | |||
594 | /* 9 */ char *anon; | 594 | /* 9 */ char *anon; |
595 | /* 10 */ char *map; | 595 | /* 10 */ char *map; |
596 | /* 11 */ char *slab; | 596 | /* 11 */ char *slab; |
597 | }; | 597 | } u; |
598 | char *str[11]; | 598 | char *str[11]; |
599 | } Z; | 599 | } Z; |
600 | #define total Z.total | 600 | #define total Z.u.total |
601 | #define mfree Z.mfree | 601 | #define mfree Z.u.mfree |
602 | #define buf Z.buf | 602 | #define buf Z.u.buf |
603 | #define cache Z.cache | 603 | #define cache Z.u.cache |
604 | #define swaptotal Z.swaptotal | 604 | #define swaptotal Z.u.swaptotal |
605 | #define swapfree Z.swapfree | 605 | #define swapfree Z.u.swapfree |
606 | #define dirty Z.dirty | 606 | #define dirty Z.u.dirty |
607 | #define mwrite Z.mwrite | 607 | #define mwrite Z.u.mwrite |
608 | #define anon Z.anon | 608 | #define anon Z.u.anon |
609 | #define map Z.map | 609 | #define map Z.u.map |
610 | #define slab Z.slab | 610 | #define slab Z.u.slab |
611 | #define str Z.str | 611 | #define str Z.str |
612 | 612 | ||
613 | memset(&Z, 0, sizeof(Z)); | 613 | memset(&Z, 0, sizeof(Z)); |