« Previous | Next » 

Revision 40508bb4

ID40508bb424971d9f39f3fb3b455a1765aa7799ee

Added by Petar Jovanovic almost 11 years ago

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 <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Stefan Hajnoczi <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences