OcFileLib: Make SafeOpenFile warning debug only

This commit is contained in:
vit9696 2020-02-06 01:20:11 +03:00
parent 6ff1c87031
commit 907f225f1f

View File

@ -41,7 +41,7 @@ SafeFileOpen (
ASSERT (FileName != NULL);
Length = StrLen (FileName);
if (Length > 0 && FileName[Length - 1] == L'\\') {
DEBUG ((DEBUG_ERROR, "OCFS: Filename %s has trailing slash\n", FileName));
DEBUG ((DEBUG_INFO, "OCFS: Filename %s has trailing slash\n", FileName));
}
DEBUG_CODE_END ();