aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-10-11 13:03:50 -0700
committerRob Landley <rob@landley.net>2016-10-12 16:16:01 -0500
commit3a6d31707720cd51c03a722e057acab6c1b959d6 (patch)
tree1c34891467fb6aecbcea0b707b8bf3115387a230
parent4e867b8a352744eb10aa7032936c96b762f4c144 (diff)
downloadtoybox-3a6d31707720cd51c03a722e057acab6c1b959d6.tar.gz
Stop renaming the ADDR field to PC on Android.
It's causing confusion, and it's not obvious that anyone's relying on it (and even if they are, let's try to find and fix them first).
-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 cb57ecf2..15acc84f 100644
--- a/toys/posix/ps.c
+++ b/toys/posix/ps.c
@@ -1185,7 +1185,7 @@ void ps_main(void)
not_o = "F,S,UID,%sPPID,C,PRI,NI,ADDR,SZ,WCHAN,TTY,TIME,CMD";
else if (CFG_TOYBOX_ON_ANDROID)
sprintf(not_o = toybuf+128,
- "USER,%%sPPID,VSIZE,RSS,WCHAN:10,ADDR:10=PC,S,%s",
+ "USER,%%sPPID,VSIZE,RSS,WCHAN:10,ADDR:10,S,%s",
(toys.optflags&FLAG_T) ? "CMD" : "NAME");
sprintf(toybuf, not_o, (toys.optflags & FLAG_T) ? "PID,TID," : "PID,");