mirror of
https://github.com/scsitape/stenc.git
synced 2026-07-27 10:02:36 +00:00
Added output of strerror to undecoded error codes
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user