mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-18 11:11:02 +00:00
Use win_error for WSAGetLastError
This commit is contained in:
parent
0d34b97948
commit
425610b98a
@ -210,7 +210,7 @@ void windows_poll(pollfd* fds, unsigned long nfds, int timeout, bool* connecting
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user