]> granicus.if.org Git - strace/commitdiff
Fix printstrbufarg's address argument to be long, not int
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 5 Mar 2013 15:17:46 +0000 (16:17 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 5 Mar 2013 15:17:46 +0000 (16:17 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
linux/syscall.h
stream.c

index 39c0ff26ee7e71c4c24d1aba20a85f90682d21dd..090b54c34a9a0666cd50af935b8fa976d9590edc 100644 (file)
@@ -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
index 8656fc031504fe6165429f8ae5fa1e23b73174ef..dc84ab5e3f7a088053ee2cee9f1a9e034467b6a4 100644 (file)
--- a/stream.c
+++ b/stream.c
@@ -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;