msvcrt: Don't call invalid parameter handler on invalid mode flag.

This commit is contained in:
Piotr Caban 2013-11-01 12:12:06 +01:00 committed by Alexandre Julliard
parent 1990e19424
commit 647817b018
1 changed files with 2 additions and 2 deletions

View File

@ -1384,8 +1384,8 @@ static int msvcrt_get_flags(const MSVCRT_wchar_t* mode, int *open_flags, int* st
FIXME("ignoring cache optimization flag: %c\n", mode[-1]);
break;
default:
MSVCRT_INVALID_PMT(0, MSVCRT_EINVAL);
return -1;
ERR("incorrect mode flag: %c\n", mode[-1]);
break;
}
if(*mode == ',')