Don't ignore other fcntl functions, directly call __sys_fcntl if

WITHOUT_SYSCALL_COMPAT is not defined.

Reviewed by:	deischen
This commit is contained in:
David Xu 2009-03-09 05:54:43 +00:00
parent c79ba5b058
commit 5b71b82e70
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189553

View File

@ -258,7 +258,7 @@ __fcntl(int fd, int cmd,...)
#ifdef SYSCALL_COMPAT
ret = __fcntl_compat(fd, cmd, va_arg(ap, void *));
#else
ret = EOPNOTSUPP;
ret = __sys_fcntl(fd, cmd, va_arg(ap, void *));
#endif
}
va_end(ap);