mirror of
https://github.com/uutils/coreutils
synced 2024-11-17 02:08:09 +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",
|
TimedOut => "Timed out",
|
||||||
WriteZero => "Write zero",
|
WriteZero => "Write zero",
|
||||||
Interrupted => "Interrupted",
|
Interrupted => "Interrupted",
|
||||||
Other => "Other",
|
|
||||||
UnexpectedEof => "Unexpected end of file",
|
UnexpectedEof => "Unexpected end of file",
|
||||||
_ => {
|
_ => {
|
||||||
// TODO: using `strip_errno()` causes the error message
|
// TODO: using `strip_errno()` causes the error message
|
||||||
|
|
Loading…
Reference in a new issue