* process_vm.c (SYS_FUNC(process_vm_readv), SYS_FUNC(process_vm_writev)): change conversion specifier for pid argument from "%ld" to "%d". --- process_vm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/process_vm.c b/process_vm.c index 0a9dcd2..03e7594 100644 --- a/process_vm.c +++ b/process_vm.c @@ -32,7 +32,7 @@ SYS_FUNC(process_vm_readv) { if (entering(tcp)) { /* arg 1: pid */ - tprintf("%ld, ", tcp->u_arg[0]); + tprintf("%d, ", (int) tcp->u_arg[0]); } else { /* arg 2: local iov */ if (syserror(tcp)) { @@ -60,7 +60,7 @@ SYS_FUNC(process_vm_readv) SYS_FUNC(process_vm_writev) { /* arg 1: pid */ - tprintf("%ld, ", tcp->u_arg[0]); + tprintf("%d, ", (int) tcp->u_arg[0]); /* arg 2: local iov */ tprint_iov(tcp, tcp->u_arg[2], tcp->u_arg[1], IOV_DECODE_STR); /* arg 3: local iovcnt */ -- 1.7.10.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel