зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1690326 - Map Windows error `ERROR_DEV_NOT_EXIST` (0x37) to `NS_ERROR_FILE_DEVICE_FAILURE`. r=xpcom-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D149904
This commit is contained in:
Родитель
f85b73bf84
Коммит
ceb9221d80
|
@ -329,6 +329,8 @@ static nsresult ConvertWinError(DWORD aWinErr) {
|
|||
[[fallthrough]]; // to NS_ERROR_FILE_DEVICE_FAILURE
|
||||
case ERROR_DEVICE_NOT_CONNECTED:
|
||||
[[fallthrough]]; // to NS_ERROR_FILE_DEVICE_FAILURE
|
||||
case ERROR_DEV_NOT_EXIST:
|
||||
[[fallthrough]]; // to NS_ERROR_FILE_DEVICE_FAILURE
|
||||
case ERROR_IO_DEVICE:
|
||||
rv = NS_ERROR_FILE_DEVICE_FAILURE;
|
||||
break;
|
||||
|
|
Загрузка…
Ссылка в новой задаче