diff --git a/compat/mingw.c b/compat/mingw.c index 166e2ad5f0..af522f1666 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -76,9 +76,6 @@ static int do_lstat(const char *file_name, struct stat *buf) case ERROR_NOT_ENOUGH_MEMORY: errno = ENOMEM; break; - case ERROR_INVALID_NAME: - errno = EFAULT; - break; default: errno = ENOENT; break;