From 9658ed99a8b2c92fb40759354e323b0101ca9711 Mon Sep 17 00:00:00 2001 From: Evan Husted Date: Sun, 16 Feb 2025 00:42:28 -0600 Subject: [PATCH] Print the socket fd that was invalid --- src/Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs b/src/Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs index 0f2b6dfb9..b8deb2c45 100644 --- a/src/Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs +++ b/src/Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs @@ -806,8 +806,9 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd } else { - Logger.Warning?.PrintMsg(LogClass.ServiceBsd, "Invalid socket fd."); + Logger.Warning?.PrintMsg(LogClass.ServiceBsd, $"Invalid socket fd '{socketFd}'."); } + return WriteBsdResult(context, 0, errno); }