summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2012-02-18 17:28:31 +0100
committerPierre Bourdon <delroth@gmail.com>2012-02-18 17:28:31 +0100
commit60b8227df202df002a75052b85ed3e3e8a80eb36 (patch)
tree6e215902129b28b725d287576b5921ac70f419c6 /Source/Core
parent77effd891343b4705b5999b36e55d6db292ed46a (diff)
Display errno in Linux getNetErrorCode defautl case
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp2
1 files changed, 1 insertions, 1 deletions
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
}