linux-user: Use safe_syscall wrapper for fcntl
commit435da5e7092aa54e12044b9401b42c4a9333c74d
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 13 Jun 2016 10:22:05 +0000 (13 11:22 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Sun, 26 Jun 2016 10:17:20 +0000 (26 13:17 +0300)
treec50efa56bc6ca7d44ab10137be7924576240a16c
parent213d3e9ea27f7fc55db7272c05255294b52ed3e4
linux-user: Use safe_syscall wrapper for fcntl

Use the safe_syscall wrapper for fcntl. This is straightforward now
that we always use 'struct fcntl64' on the host, as we don't need
to select whether to call the host's fcntl64 or fcntl syscall
(a detail that the libc previously hid for us).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c