aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2017-02-06 20:46:56 -0600
committerRob Landley <rob@landley.net>2017-02-06 20:46:56 -0600
commitaf857c67a89a8f73e81255b56ea12936b4c55b67 (patch)
treeb9f59017cc861ac0462be3eb2a4fe9232b9eec9b
parent45c2c21396d26254258851b72d8d50db93730106 (diff)
downloadtoybox-af857c67a89a8f73e81255b56ea12936b4c55b67.tar.gz
ps -l has 4 chars left for "cmd", switch "ADDR" to "BIT" to save space.
-rw-r--r--toys/posix/ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/ps.c b/toys/posix/ps.c
index d018f2b1..bcf1e714 100644
--- a/toys/posix/ps.c
+++ b/toys/posix/ps.c
@@ -1194,7 +1194,7 @@ void ps_main(void)
"USER:12=UID,%%sPPID,%s,STIME,TTY,TIME,ARGS=CMD",
(toys.optflags&FLAG_T) ? "TCNT" : "C");
else if (toys.optflags&FLAG_l)
- not_o = "F,S,UID,%sPPID,C,PRI,NI,ADDR,SZ,WCHAN,TTY,TIME,CMD";
+ not_o = "F,S,UID,%sPPID,C,PRI,NI,BIT,SZ,WCHAN,TTY,TIME,CMD";
else if (CFG_TOYBOX_ON_ANDROID)
sprintf(not_o = toybuf+128,
"USER,%%sPPID,VSIZE,RSS,WCHAN:10,ADDR:10,S,%s",