mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
Use win_error for WSAGetLastError
This commit is contained in:
parent
0d34b97948
commit
425610b98a
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ void windows_poll(pollfd* fds, unsigned long nfds, int timeout, bool* connecting
|
||||||
|
|
||||||
if (r == SOCKET_ERROR)
|
if (r == SOCKET_ERROR)
|
||||||
{
|
{
|
||||||
sys_net.error("WSAPoll failed: %u", WSAGetLastError());
|
sys_net.error("WSAPoll failed: %s", fmt::win_error{static_cast<unsigned long>(WSAGetLastError()), nullptr});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue