[git commit] pmap: fix column width, closes 13431
Denys Vlasenko
vda.linux at googlemail.com
Tue Jan 5 18:39:34 UTC 2021
commit: https://git.busybox.net/busybox/commit/?id=2266c12a79f537308a4ce576cf8e8fb2a89babde
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
procps/pmap.c | 12 +++---------
1 file 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 {
More information about the busybox-cvs
mailing list