Display errno in Linux getNetErrorCode defautl case
This commit is contained in:
parent
77effd8913
commit
60b8227df2
|
@ -545,7 +545,7 @@ static int getNetErrorCode(int ret, std::string caller, bool isRW)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
WARN_LOG(WII_IPC_NET, "%s failed with error %d: %s, ret= %d",
|
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;
|
return ret;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue