Merge "Toolbox: |ps -t| now correctly displays the USER for threads"
This commit is contained in:
commit
7a6cb3063c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue