summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorPetar Jovanovic2013-03-21 18:57:36 +0100
committerStefan Hajnoczi2013-04-19 11:42:03 +0200
commit40508bb424971d9f39f3fb3b455a1765aa7799ee (patch)
treea4c955737479467d9887261b46ff371aa54f10f4 /block
parentw64: Fix compiler warnings (wrong format specifier) (diff)
downloadqemu-40508bb424971d9f39f3fb3b455a1765aa7799ee.tar.gz
qemu-40508bb424971d9f39f3fb3b455a1765aa7799ee.tar.xz
qemu-40508bb424971d9f39f3fb3b455a1765aa7799ee.zip
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: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions