diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-01-05 19:39:34 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-01-05 19:39:34 +0100 |
| commit | 2266c12a79f537308a4ce576cf8e8fb2a89babde (patch) | |
| tree | ba98b6b07b40a38cbca75c4f9ac8e8537b61698e /procps | |
| parent | 4a4b453a87da91a5051a1b7be9061861ec5c01a1 (diff) | |
| download | busybox-w32-2266c12a79f537308a4ce576cf8e8fb2a89babde.tar.gz busybox-w32-2266c12a79f537308a4ce576cf8e8fb2a89babde.tar.bz2 busybox-w32-2266c12a79f537308a4ce576cf8e8fb2a89babde.zip | |
pmap: fix column width, closes 13431
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
| -rw-r--r-- | procps/pmap.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/procps/pmap.c b/procps/pmap.c index 9e541c707..408cbfce7 100644 --- a/procps/pmap.c +++ b/procps/pmap.c | |||
| @@ -27,20 +27,14 @@ | |||
| 27 | 27 | ||
| 28 | #include "libbb.h" | 28 | #include "libbb.h" |
| 29 | 29 | ||
| 30 | #if ULONG_MAX == 0xffffffff | 30 | #if ULLONG_MAX == 0xffffffff |
| 31 | # define TABS "\t" | 31 | # define TABS "\t" |
| 32 | # define AFMT "8" | 32 | # define AFMTLL "8" |
| 33 | # define DASHES "" | 33 | # define DASHES "" |
| 34 | #else | 34 | #else |
| 35 | # define TABS "\t\t" | 35 | # define TABS "\t\t" |
| 36 | # define AFMT "16" | ||
| 37 | # define DASHES "--------" | ||
| 38 | #endif | ||
| 39 | |||
| 40 | #if ULLONG_MAX == 0xffffffff | ||
| 41 | # define AFMTLL "8" | ||
| 42 | #else | ||
| 43 | # define AFMTLL "16" | 36 | # define AFMTLL "16" |
| 37 | # define DASHES "--------" | ||
| 44 | #endif | 38 | #endif |
| 45 | 39 | ||
| 46 | enum { | 40 | enum { |
