Received: from eggs.gnu.org ([2001:4830:134:3::10]:45510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbW9v-0003kp-Ih for qemu-devel@nongnu.org; Wed, 30 Oct 2013 09:50:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbW9k-0000mV-Pl for qemu-devel@nongnu.org; Wed, 30 Oct 2013 09:50:07 -0400 Received: from mail.rt-rk.ftn.uns.ac.rs ([147.91.177.140]:49698 helo=mail.rt-rk.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbW9k-0000kt-JR for qemu-devel@nongnu.org; Wed, 30 Oct 2013 09:49:56 -0400 Received: from mail.rt-rk.com (mail.localdomain [127.0.0.1]) by mail.rt-rk.com (Postfix) with SMTP id 6C8A225B75B for ; Wed, 30 Oct 2013 14:49:54 +0100 (CET) From: Petar Jovanovic Date: Wed, 30 Oct 2013 14:46:32 +0100 Message-Id: <1383140792-111139-2-git-send-email-petar.jovanovic@rt-rk.com> In-Reply-To: <1383140792-111139-1-git-send-email-petar.jovanovic@rt-rk.com> References: <1383140792-111139-1-git-send-email-petar.jovanovic@rt-rk.com> Subject: [Qemu-devel] [PATCH v3 2/2] linux-user: pass correct parameter to do_shmctl() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, riku.voipio@linaro.org, petar.jovanovic@imgtec.com, aurelien@aurel32.net, afaerber@suse.de From: Petar Jovanovic Fix shmctl issue by passing correct parameter buf to do_shmctl(). Signed-off-by: Petar Jovanovic --- 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 4f9c558..abaffde 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -3196,7 +3196,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