Fix handling of the third argument for fcntl(2). The native syscall
authorkib <kib@FreeBSD.org>
Wed, 27 Aug 2014 01:02:02 +0000 (01:02 +0000)
committerkib <kib@FreeBSD.org>
Wed, 27 Aug 2014 01:02:02 +0000 (01:02 +0000)
commit75f74b437b77e6ddf13e7be2718fc77f180865e0
treeb25b342744cf33f93a8c7ccb4157888c003eeb46
parent4900dd0aa54c77ff0c53e68ed43bb005431d4f0d
Fix handling of the third argument for fcntl(2).  The native syscall
uses long for arg, which needs translation.

Discussed with and tested by: mjg
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
sys/compat/freebsd32/freebsd32_misc.c
sys/compat/freebsd32/syscalls.master