am dccf65ef: am 1f909334: am ed5b81c9: Merge "Fix LP32 build."

* commit 'dccf65ef024978ce26ddc96ced58b2417a50967f':
  Fix LP32 build.
This commit is contained in:
Elliott Hughes 2015-03-10 22:04:41 +00:00 committed by Android Git Automerger
commit d997b8e018
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#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);
}