server: Map EXDEV to STATUS_NOT_SAME_DEVICE.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Qian Hong 2018-05-11 04:42:48 +00:00 committed by Alexandre Julliard
parent 7f0b93c7f1
commit 9ec4b572f8
1 changed files with 1 additions and 0 deletions

View File

@ -671,6 +671,7 @@ void file_set_error(void)
case EFBIG: set_error( STATUS_SECTION_TOO_BIG ); break;
case ENODEV: set_error( STATUS_NO_SUCH_DEVICE ); break;
case ENXIO: set_error( STATUS_NO_SUCH_DEVICE ); break;
case EXDEV: set_error( STATUS_NOT_SAME_DEVICE ); break;
#ifdef EOVERFLOW
case EOVERFLOW: set_error( STATUS_INVALID_PARAMETER ); break;
#endif