mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
fix ioctl
This commit is contained in:
parent
eb3c264e88
commit
70cd9e017d
@ -544,7 +544,7 @@ int ioctl(int fd, int request, ...) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
fd = request != FIONBIO ? _socketGetFd(fd) : fd;
|
||||
fd = request == FIONBIO ? _socketGetFd(fd) : fd;
|
||||
if(fd == -1)
|
||||
return -1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user