linux-user: Return target error number in do_fork()
authorTimothy E Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
Sun, 30 Aug 2015 23:26:21 +0000 (00:26 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 28 Sep 2015 13:40:12 +0000 (16:40 +0300)
commit93b4eff80af9822e4b726dcf21ee61538e088695
tree3781140f56d8f46b4048d78b7045aff51341bca7
parentee1045877a7e226945c7cec2bda80039bd2d0c8e
linux-user: Return target error number in do_fork()

Whilst calls to do_fork() are wrapped in get_errno() this does not
translate return values.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Timothy Edward Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c