aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2013-04-05 12:52:48 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2013-04-05 12:52:48 -0500
commit91b53e4407ed8379d2d40f88a585e0b767681927 (patch)
tree0b77aca79ddbb26d3af3fead1a1d4545c034b0cb /linux-user
parent54baa6f3c07a155939a6edda6d17706a6e9ab11c (diff)
parentf1922e36e267eae0c9d70e8660830e081878bdfc (diff)
downloadqemu-91b53e4407ed8379d2d40f88a585e0b767681927.zip
qemu-91b53e4407ed8379d2d40f88a585e0b767681927.tar.gz
qemu-91b53e4407ed8379d2d40f88a585e0b767681927.tar.bz2
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
# By Peter Crosthwaite (2) and others # Via Stefan Hajnoczi * stefanha/trivial-patches: xilinx_zynq: Cleanup ssi_create_slave petalogix_ml605_mmu: Cleanup ssi_create_slave() target-s390: Fix SRNMT linux-user: Don't omit comma for strace of rt_sigaction() test-visitor-serialization: Fix some memory leaks
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/strace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/strace.c b/linux-user/strace.c
index 0fbae3c..ea6c1d2 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));