aboutsummaryrefslogtreecommitdiff
path: root/block/ssh.c
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@imgtec.com>2013-03-21 18:57:36 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-04-19 11:42:03 +0200
commit40508bb424971d9f39f3fb3b455a1765aa7799ee (patch)
treea4c955737479467d9887261b46ff371aa54f10f4 /block/ssh.c
parent7f1721dfb7d3a9e464ba59a7d5f76761fd8a3ab9 (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: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/ssh.c')
0 files changed, 0 insertions, 0 deletions