diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-03-05 16:17:46 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-03-05 16:17:46 +0100 |
commit | e7db46503d07b306056ec70a4290b022e473734b (patch) | |
tree | a6b9a9f0b880f45bfc1417404fa8d27fc412d943 | |
parent | 38cfe7c92328e940c71074c9b579b5bf9f2cb2f6 (diff) | |
download | strace-e7db46503d07b306056ec70a4290b022e473734b.tar.gz strace-e7db46503d07b306056ec70a4290b022e473734b.tar.bz2 strace-e7db46503d07b306056ec70a4290b022e473734b.tar.xz |
Fix printstrbufarg's address argument to be long, not int
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | linux/syscall.h | 10 | ||||
-rw-r--r-- | stream.c | 2 |
2 files changed, 3 insertions, 9 deletions
diff --git a/linux/syscall.h b/linux/syscall.h index 39c0ff2..090b54c 100644 --- a/linux/syscall.h +++ b/linux/syscall.h @@ -98,7 +98,7 @@ int sys_getgroups32(); int sys_gethostname(); int sys_getitimer(); int sys_getpeername(); -int sys_getpmsg(); +int sys_getpmsg(); /* TODO: non-Linux, remove? */ int sys_getpriority(); int sys_getresuid(); int sys_getrlimit(); @@ -181,7 +181,7 @@ int sys_process_vm_readv(); int sys_process_vm_writev(); int sys_pselect6(); int sys_ptrace(); -int sys_putpmsg(); +int sys_putpmsg(); /* TODO: non-Linux, remove? */ int sys_pwrite(); int sys_pwritev(); int sys_query_module(); @@ -334,12 +334,6 @@ int sys_osf_wait4(); int sys_getpagesize(); #endif -#ifdef IA64 -/* STREAMS stuff */ -int sys_getpmsg(); -int sys_putpmsg(); -#endif - #ifdef MIPS int sys_sysmips(); #endif @@ -72,7 +72,7 @@ printstrbuf(struct tcb *tcp, struct strbuf *sbp, int getting) } static void -printstrbufarg(struct tcb *tcp, int arg, int getting) +printstrbufarg(struct tcb *tcp, long arg, int getting) { struct strbuf buf; |