Commit d4354694e9813be1cb0b26ad1706701ea9b524ce

Authored by balrog
1 parent 6de645c7

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
Showing 1 changed file with 1 additions and 1 deletions
linux-user/strace.list
@@ -1250,7 +1250,7 @@ @@ -1250,7 +1250,7 @@
1250 { TARGET_NR_sgetmask, "sgetmask" , NULL, NULL, NULL }, 1250 { TARGET_NR_sgetmask, "sgetmask" , NULL, NULL, NULL },
1251 #endif 1251 #endif
1252 #ifdef TARGET_NR_shmat 1252 #ifdef TARGET_NR_shmat
1253 -{ TARGET_NR_shmat, "shmat" , NULL, NULL, NULL }, 1253 +{ TARGET_NR_shmat, "shmat" , NULL, NULL, print_syscall_ret_addr },
1254 #endif 1254 #endif
1255 #ifdef TARGET_NR_shmctl 1255 #ifdef TARGET_NR_shmctl
1256 { TARGET_NR_shmctl, "shmctl" , NULL, NULL, NULL }, 1256 { TARGET_NR_shmctl, "shmctl" , NULL, NULL, NULL },