qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] linux-user: pass correct parameter to do_shmctl()
@ 2013-10-11 13:03 Petar Jovanovic
  2013-10-11 19:10 ` Peter Maydell
  0 siblings, 1 reply; 7+ messages in thread
From: Petar Jovanovic @ 2013-10-11 13:03 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, riku.voipio, petar.jovanovic, aurelien

From: Petar Jovanovic <petar.jovanovic@imgtec.com>

Fix shmctl issue by passing correct parameter buf to do_shmctl().

Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com>
---
 linux-user/syscall.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 4a14a43..1f6492e 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -3216,7 +3216,7 @@ static abi_long do_ipc(unsigned int call, int first,
 
 	/* IPC_* and SHM_* command values are the same on all linux platforms */
     case IPCOP_shmctl:
-        ret = do_shmctl(first, second, third);
+        ret = do_shmctl(first, second, ptr);
         break;
     default:
 	gemu_log("Unsupported ipc call: %d (version %d)\n", call, version);
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-10-21 14:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-11 13:03 [Qemu-devel] [PATCH] linux-user: pass correct parameter to do_shmctl() Petar Jovanovic
2013-10-11 19:10 ` Peter Maydell
2013-10-11 20:44   ` Petar Jovanovic
2013-10-21  8:45     ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2013-10-21 10:49       ` Petar Jovanovic
2013-10-21 13:26         ` Peter Maydell
2013-10-21 14:07           ` Petar Jovanovic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).