diff --git a/linux-user/strace.c b/linux-user/strace.c index 0fbae3c2f630897e606165096942a1eb73081aa7..ea6c1d24e6489559965b9f2ce59798bd635c3f61 100644 --- a/linux-user/strace.c +++ b/linux-user/strace.c @@ -143,7 +143,7 @@ print_signal(abi_ulong arg, int last) case TARGET_SIGTTOU: signal_name = "SIGTTOU"; break; } if (signal_name == NULL) { - print_raw_param("%ld", arg, 1); + print_raw_param("%ld", arg, last); return; } gemu_log("%s%s", signal_name, get_comma(last));