aboutsummaryrefslogtreecommitdiff
path: root/linux-user/strace.list
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-28 10:39:39 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-28 10:39:39 +0000
commitd4354694e9813be1cb0b26ad1706701ea9b524ce (patch)
tree77acee8463b28c64b0814dcc02000a9795481a10 /linux-user/strace.list
parent6de645c7d1f2dfce6df9823ef599b1bb4ef87d9a (diff)
Fix return value printing for shmat (Lauro Ramos Venancio).
The shmat syscall returns an address, so we must use the print_syscall_ret_addr function. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5565 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/strace.list')
-rw-r--r--linux-user/strace.list2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/strace.list b/linux-user/strace.list
index 868a72583e..09a801f7c6 100644
--- a/linux-user/strace.list
+++ b/linux-user/strace.list
@@ -1250,7 +1250,7 @@
{ TARGET_NR_sgetmask, "sgetmask" , NULL, NULL, NULL },
#endif
#ifdef TARGET_NR_shmat
-{ TARGET_NR_shmat, "shmat" , NULL, NULL, NULL },
+{ TARGET_NR_shmat, "shmat" , NULL, NULL, print_syscall_ret_addr },
#endif
#ifdef TARGET_NR_shmctl
{ TARGET_NR_shmctl, "shmctl" , NULL, NULL, NULL },