Le 02/07/2018 à 19:50, Philippe Mathieu-Daudé a écrit : > Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> > Tested-By: Guido Günther <a...@sigxcpu.org> > --- > linux-user/strace.c | 13 +++++++++++++ > linux-user/strace.list | 2 +- > 2 files changed, 14 insertions(+), 1 deletion(-) > > diff --git a/linux-user/strace.c b/linux-user/strace.c > index 77e36467cd..b8e585a87d 100644 > --- a/linux-user/strace.c > +++ b/linux-user/strace.c > @@ -1958,6 +1958,19 @@ print_socketcall(const struct syscallname *name, > } > #endif > > +#if defined(TARGET_NR_bind) > +static void > +print_bind(const struct syscallname *name, > + abi_long arg0, abi_long arg1, abi_long arg2, > + abi_long arg3, abi_long arg4, abi_long arg5) > +{ > + print_syscall_prologue(name); > + print_raw_param("%d", arg0, 0);
As arg0 is abi_long I think you should use TARGET_ABI_FMT_ld. (see do_print_sockaddr()). Thanks, Laurent