* commit '1f909334507e6f4c0db20a71a4fceb0397c6ee7d': Fix LP32 build.
This commit is contained in:
commit
dccf65ef02
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
@ -192,7 +193,7 @@ static int ps_line(int pid, int tid, char *namefilter)
|
||||||
wchan[wchan_len = 0] = '\0';
|
wchan[wchan_len = 0] = '\0';
|
||||||
}
|
}
|
||||||
close(fd);
|
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) {
|
if (display_flags & SHOW_ABI) {
|
||||||
print_exe_abi(pid);
|
print_exe_abi(pid);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue