From 907f225f1fbee2104e5877e3b2f44a7c8d3d253c Mon Sep 17 00:00:00 2001 From: vit9696 Date: Thu, 6 Feb 2020 01:20:11 +0300 Subject: [PATCH] OcFileLib: Make SafeOpenFile warning debug only --- Library/OcFileLib/OpenFile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/OcFileLib/OpenFile.c b/Library/OcFileLib/OpenFile.c index e79a6d87..16dac4eb 100644 --- a/Library/OcFileLib/OpenFile.c +++ b/Library/OcFileLib/OpenFile.c @@ -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 ();