Merge pull request #16 from JosefMeixner/errorreporting

Added output of strerror to undecoded error codes
This commit is contained in:
Jonas Stein
2020-06-16 22:13:53 +02:00
committed by GitHub
+1 -1
View File
@@ -566,7 +566,7 @@ void readIOError(int err){
#endif
default:
if(errno!=0){
cerr<<"0x"<<hex<<errno<<endl;
cerr<<"0x"<<hex<<errno<<" "<<strerror(errno)<<endl;
}
}