var usage

This commit is contained in:
Evan Husted 2025-02-15 20:58:35 -06:00
parent 72ccda2a0a
commit 2596c41832

View File

@ -107,8 +107,8 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd
} }
catch (SocketException exception) catch (SocketException exception)
{ {
var errNo = WinSockHelper.ConvertError((WsaError)exception.ErrorCode); LinuxError errNo = WinSockHelper.ConvertError((WsaError)exception.ErrorCode);
return WriteBsdResult(context, 0, errno); return WriteBsdResult(context, 0, errNo);
} }
int newSockFd = _context.RegisterFileDescriptor(newBsdSocket); int newSockFd = _context.RegisterFileDescriptor(newBsdSocket);