Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f977841 authored by Elliott Hughes's avatar Elliott Hughes Committed by android-build-merger
Browse files

Merge "Toolbox: |ps -t| now correctly displays the USER for threads"

am: 7a6cb306

* commit '7a6cb306':
  Toolbox: |ps -t| now correctly displays the USER for threads
parents 15bc48b7 7a6cb306
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -57,7 +57,7 @@ static int ps_line(int pid, int tid)
    int prio, nice, rtprio, sched, psr;
    int prio, nice, rtprio, sched, psr;
    struct passwd *pw;
    struct passwd *pw;


    sprintf(statline, "/proc/%d", pid);
    sprintf(statline, "/proc/%d", tid ? tid : pid);
    stat(statline, &stats);
    stat(statline, &stats);


    if(tid) {
    if(tid) {