aboutsummaryrefslogtreecommitdiff
path: root/linux-user/mmap.c
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@imgtec.com>2013-03-21 07:57:36 +0000
committerRiku Voipio <riku.voipio@linaro.org>2013-04-19 10:48:51 +0300
commitc7128c9fd58ee92cae70c7cd1d53acc529cebbbb (patch)
tree603656b9b371f6cc9a063368a32529f1fbd7616c /linux-user/mmap.c
parent09dada400328d75daf79e3eca1e48e024fec148d (diff)
linux-user: change do_semop to return target errno when unsuccessful
do_semop() is called from two places, and one of these fails to convert return error to target errno when semop fails. This patch changes the function to always return target errno in case of an unsuccessful call. Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/mmap.c')
0 files changed, 0 insertions, 0 deletions