From a29267846a52b4ca294ba3a962b74b67df7ce6d2 Mon Sep 17 00:00:00 2001 From: Petar Jovanovic Date: Wed, 30 Oct 2013 14:46:32 +0100 Subject: linux-user: pass correct parameter to do_shmctl() Fix shmctl issue by passing correct parameter buf to do_shmctl(). Signed-off-by: Petar Jovanovic Signed-off-by: Riku Voipio --- linux-user/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-user/syscall.c') diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 5702d4e260..efd1453987 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -3215,7 +3215,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); -- cgit v1.2.3