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

Commit 8ac94d3a authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Fix LP32 build.

Change-Id: I66e084330e7a32eac639d06187e780ffa0ad7b14
parent 9cce837d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
#include <ctype.h>
#include <dirent.h>
#include <fcntl.h>
#include <inttypes.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
@@ -192,7 +193,7 @@ static int ps_line(int pid, int tid, char *namefilter)
            wchan[wchan_len = 0] = '\0';
        }
        close(fd);
        printf(" %10.*s %0*lx %s ", (int) wchan_len, wchan, (int) PC_WIDTH, eip, state);
        printf(" %10.*s %0*" PRIxPTR " %s ", (int) wchan_len, wchan, (int) PC_WIDTH, eip, state);
        if (display_flags & SHOW_ABI) {
            print_exe_abi(pid);
        }