Merge "Toolbox: |ps -t| now correctly displays the USER for threads"
am: 7a6cb3063c
* commit '7a6cb3063cb9b0e8bf85b2d6b38b9754a478a376':
Toolbox: |ps -t| now correctly displays the USER for threads
This commit is contained in:
commit
6f97784152
|
@ -57,7 +57,7 @@ static int ps_line(int pid, int tid)
|
|||
int prio, nice, rtprio, sched, psr;
|
||||
struct passwd *pw;
|
||||
|
||||
sprintf(statline, "/proc/%d", pid);
|
||||
sprintf(statline, "/proc/%d", tid ? tid : pid);
|
||||
stat(statline, &stats);
|
||||
|
||||
if(tid) {
|
||||
|
|
Loading…
Reference in New Issue