mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 21:00:16 -05:00
Recognize the Windows ERROR_CRC(23) error
This commit is contained in:
parent
a292caa984
commit
67f1f25259
1 changed files with 1 additions and 0 deletions
|
|
@ -694,6 +694,7 @@ static void windows_errno(DWORD error)
|
||||||
errno = EPERM;
|
errno = EPERM;
|
||||||
break;
|
break;
|
||||||
case ERROR_IO_DEVICE : /* in ReadFile() and WriteFile() */
|
case ERROR_IO_DEVICE : /* in ReadFile() and WriteFile() */
|
||||||
|
case ERROR_CRC : /* in ReadFile() */
|
||||||
errno = EIO;
|
errno = EIO;
|
||||||
break;
|
break;
|
||||||
default :
|
default :
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue