mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
c79ba5b058
commit
5b71b82e70
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue