diff options
author | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2013-10-30 14:46:32 +0100 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2014-02-20 22:24:21 -0600 |
commit | 0bc4142e7f44c11c65b25646d5f4d2243eef60a0 (patch) | |
tree | 2b4a7fac4475f5aba27d1df962957ef9a8dbdcaa /linux-user | |
parent | b9cabc36a20a43a5b96686a1df47984ff983c395 (diff) | |
download | qemu-0bc4142e7f44c11c65b25646d5f4d2243eef60a0.tar.gz |
linux-user: pass correct parameter to do_shmctl()
Fix shmctl issue by passing correct parameter buf to do_shmctl().
Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
(cherry picked from commit a29267846a52b4ca294ba3a962b74b67df7ce6d2)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index eaaf00ddd0..a3575e7c8b 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); |