From: Petar Jovanovic <petar.jovanovic@rt-rk.com>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, riku.voipio@linaro.org,
petar.jovanovic@imgtec.com, aurelien@aurel32.net
Subject: [Qemu-devel] [PATCH] linux-user: pass correct parameter to do_shmctl()
Date: Fri, 11 Oct 2013 15:03:57 +0200 [thread overview]
Message-ID: <1381496638-29127-1-git-send-email-petar.jovanovic@rt-rk.com> (raw)
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
next reply other threads:[~2013-10-11 13:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-11 13:03 Petar Jovanovic [this message]
2013-10-11 19:10 ` [Qemu-devel] [PATCH] linux-user: pass correct parameter to do_shmctl() 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1381496638-29127-1-git-send-email-petar.jovanovic@rt-rk.com \
--to=petar.jovanovic@rt-rk.com \
--cc=aurelien@aurel32.net \
--cc=petar.jovanovic@imgtec.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=riku.voipio@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).