From 60b8227df202df002a75052b85ed3e3e8a80eb36 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sat, 18 Feb 2012 17:28:31 +0100 Subject: [PATCH] Display errno in Linux getNetErrorCode defautl case --- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp index edb9fc4d68..b0b92fb876 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp @@ -545,7 +545,7 @@ static int getNetErrorCode(int ret, std::string caller, bool isRW) return ret; WARN_LOG(WII_IPC_NET, "%s failed with error %d: %s, ret= %d", - caller.c_str(), 0x1337, "hmm", ret); + caller.c_str(), errno, "hmm", ret); return ret; #endif }