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).
---
 toys/posix/ps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
From 88947e9b1e1b722a5e285daa41e3691ad4ccf49d Mon Sep 17 00:00:00 2001
From: Elliott Hughes <e...@google.com>
Date: Tue, 11 Oct 2016 13:03:50 -0700
Subject: [PATCH] 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).
---
 toys/posix/ps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toys/posix/ps.c b/toys/posix/ps.c
index cb57ecf..15acc84 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,");
 
-- 
2.8.0.rc3.226.g39d4020

_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to