Fix printstrbufarg's address argument to be long, not int

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2013-03-05 16:17:46 +01:00
parent 38cfe7c923
commit e7db46503d
2 changed files with 3 additions and 9 deletions

View 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

View File

@ -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;