mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-22 21:02:39 +02:00
In nxlinkStdio(), return sock on success instead of ret.
This commit is contained in:
parent
6dea82a668
commit
81ce04eb7b
@ -37,5 +37,5 @@ int nxlinkStdio(void)
|
|||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
dup2(sock, STDERR_FILENO);
|
dup2(sock, STDERR_FILENO);
|
||||||
|
|
||||||
return ret;
|
return sock;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user