aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-01-05 19:39:34 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2021-01-05 19:39:34 +0100
commit2266c12a79f537308a4ce576cf8e8fb2a89babde (patch)
treeba98b6b07b40a38cbca75c4f9ac8e8537b61698e /procps
parent4a4b453a87da91a5051a1b7be9061861ec5c01a1 (diff)
downloadbusybox-2266c12a79f537308a4ce576cf8e8fb2a89babde.tar.gz
pmap: fix column width, closes 13431
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-rw-r--r--procps/pmap.c12
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 @@
#include "libbb.h"
-#if ULONG_MAX == 0xffffffff
+#if ULLONG_MAX == 0xffffffff
# define TABS "\t"
-# define AFMT "8"
+# define AFMTLL "8"
# define DASHES ""
#else
# define TABS "\t\t"
-# define AFMT "16"
-# define DASHES "--------"
-#endif
-
-#if ULLONG_MAX == 0xffffffff
-# define AFMTLL "8"
-#else
# define AFMTLL "16"
+# define DASHES "--------"
#endif
enum {