Skip to content

Commit

Permalink
linux-user: pass correct parameter to do_shmctl()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
petar-jovanovic authored and Riku Voipio committed Nov 29, 2013
1 parent 55a2b16 commit a292678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux-user/syscall.c
Expand Up @@ -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);
Expand Down

0 comments on commit a292678

Please sign in to comment.