From f0f14aac3dd129932915feabb120b946ba0428fc Mon Sep 17 00:00:00 2001 From: Nhi Pham Date: Wed, 14 Aug 2024 18:06:22 +0700 Subject: FatPkg/EnhancedFatDxe: Downgrade debug level for no media found It is normal for a disk to not have FAT file system (known as No Media), therefore, it should not produce a "failed" entry in the boot console. This aims to lower the debug level to verbose. Signed-off-by: Nhi Pham --- FatPkg/EnhancedFatDxe/Init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FatPkg/EnhancedFatDxe/Init.c b/FatPkg/EnhancedFatDxe/Init.c index 208318c7ad..3a946199e7 100644 --- a/FatPkg/EnhancedFatDxe/Init.c +++ b/FatPkg/EnhancedFatDxe/Init.c @@ -221,7 +221,7 @@ FatOpenDevice ( Status = DiskIo->ReadDisk (DiskIo, Volume->MediaId, 0, sizeof (FatBs), &FatBs); if (EFI_ERROR (Status)) { - DEBUG ((DEBUG_INIT, "FatOpenDevice: read of part_lba failed %r\n", Status)); + DEBUG ((DEBUG_VERBOSE, "%a: read of part_lba failed %r\n", __func__, Status)); return Status; } -- cgit