mirror of
https://github.com/uutils/coreutils
synced 2024-11-16 17:58:06 +00:00
Preserve error message for "other" I/O errors
These errors still have a unique message even if the ErrorKind enum doesn't classify them.
This commit is contained in:
parent
a0be9811c6
commit
7791207870
1 changed files with 0 additions and 1 deletions
|
@ -399,7 +399,6 @@ impl Display for UIoError {
|
|||
TimedOut => "Timed out",
|
||||
WriteZero => "Write zero",
|
||||
Interrupted => "Interrupted",
|
||||
Other => "Other",
|
||||
UnexpectedEof => "Unexpected end of file",
|
||||
_ => {
|
||||
// TODO: using `strip_errno()` causes the error message
|
||||
|
|
Loading…
Reference in a new issue