mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-02 06:51:53 -06:00
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
This commit is contained in:
parent
6de645c7d1
commit
d4354694e9
1 changed files with 1 additions and 1 deletions
|
@ -1250,7 +1250,7 @@
|
||||||
{ TARGET_NR_sgetmask, "sgetmask" , NULL, NULL, NULL },
|
{ TARGET_NR_sgetmask, "sgetmask" , NULL, NULL, NULL },
|
||||||
#endif
|
#endif
|
||||||
#ifdef TARGET_NR_shmat
|
#ifdef TARGET_NR_shmat
|
||||||
{ TARGET_NR_shmat, "shmat" , NULL, NULL, NULL },
|
{ TARGET_NR_shmat, "shmat" , NULL, NULL, print_syscall_ret_addr },
|
||||||
#endif
|
#endif
|
||||||
#ifdef TARGET_NR_shmctl
|
#ifdef TARGET_NR_shmctl
|
||||||
{ TARGET_NR_shmctl, "shmctl" , NULL, NULL, NULL },
|
{ TARGET_NR_shmctl, "shmctl" , NULL, NULL, NULL },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue