summaryrefslogtreecommitdiffstats
path: root/linux-user
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@imgtec.com>2013-10-30 14:46:32 +0100
committerRiku Voipio <riku.voipio@linaro.org>2013-11-29 11:42:14 +0200
commita29267846a52b4ca294ba3a962b74b67df7ce6d2 (patch)
treef5e9fe21c067ecaf203f7016047ea4a62cae1268 /linux-user
parent55a2b1631fb343edac4a2d4596c72e58ee1372b3 (diff)
downloadhqemu-a29267846a52b4ca294ba3a962b74b67df7ce6d2.zip
hqemu-a29267846a52b4ca294ba3a962b74b67df7ce6d2.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>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 5702d4e..efd1453 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);
OpenPOWER on IntegriCloud