Added output of strerror to undecoded error codes

This commit is contained in:
Josef Meixner
2020-04-13 12:11:26 +02:00
parent d2092a0902
commit e8d1f6b66b

View File

@@ -566,7 +566,7 @@ void readIOError(int err){
#endif #endif
default: default:
if(errno!=0){ if(errno!=0){
cerr<<"0x"<<hex<<errno<<endl; cerr<<"0x"<<hex<<errno<<" "<<strerror(errno)<<endl;
} }
} }