Display errno in Linux getNetErrorCode defautl case

This commit is contained in:
Pierre Bourdon 2012-02-18 17:28:31 +01:00
parent 77effd8913
commit 60b8227df2
1 changed files with 1 additions and 1 deletions

View File

@ -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
}