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
@ -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…
x
Reference in New Issue
Block a user