setupapi: Downgrade an ERR to a WARN.

This commit is contained in:
Juan Lang 2007-11-05 09:58:00 -08:00 committed by Alexandre Julliard
parent 13ff6e7a1b
commit 1d2e0672b7
1 changed files with 2 additions and 2 deletions

View File

@ -625,7 +625,7 @@ BOOL WINAPI SetupQueryInfOriginalFileInformationA(
if (OriginalFileInfo->cbSize != sizeof(*OriginalFileInfo))
{
ERR("incorrect OriginalFileInfo->cbSize of %d\n", OriginalFileInfo->cbSize);
WARN("incorrect OriginalFileInfo->cbSize of %d\n", OriginalFileInfo->cbSize);
SetLastError( ERROR_INVALID_USER_BUFFER );
return FALSE;
}
@ -663,7 +663,7 @@ BOOL WINAPI SetupQueryInfOriginalFileInformationW(
if (OriginalFileInfo->cbSize != sizeof(*OriginalFileInfo))
{
ERR("incorrect OriginalFileInfo->cbSize of %d\n", OriginalFileInfo->cbSize);
WARN("incorrect OriginalFileInfo->cbSize of %d\n", OriginalFileInfo->cbSize);
SetLastError(ERROR_INVALID_USER_BUFFER);
return FALSE;
}