linux-user: convert remaining fcntl() to safe_fcntl()
commitaf8ab2bf223e1e4406108708b47476ef0d148a52
authorLaurent Vivier <laurent@vivier.eu>
Fri, 13 Jul 2018 12:58:05 +0000 (13 14:58 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Sun, 15 Jul 2018 14:01:15 +0000 (15 16:01 +0200)
tree7954221f5490dee1f8365fb748c8d6eaebf21872
parent4a5457616d5b3116a8ae76748f9c493a4b9e07f0
linux-user: convert remaining fcntl() to safe_fcntl()

Commit 435da5e709 didn't convert a fcntl() call to safe_fcntl()
for TARGET_NR_fcntl64 case. There is no reason to not use it
in this case.

Fixes: 435da5e709 linux-user: Use safe_syscall wrapper for fcntl
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20180713125805.10749-1-laurent@vivier.eu>
linux-user/syscall.c