]> Git Repo - qemu.git/commitdiff
Fix return value printing for shmat (Lauro Ramos Venancio).
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 28 Oct 2008 10:39:39 +0000 (10:39 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 28 Oct 2008 10:39:39 +0000 (10:39 +0000)
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

linux-user/strace.list

index 868a72583e6ec541ba982e179135ff64875db2f9..09a801f7c639c4fd9077540ef621b1ce96a372e2 100644 (file)
 { 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 },
This page took 0.027126 seconds and 4 git commands to generate.