diff options
author | Nhi Pham <nhi@os.amperecomputing.com> | 2024-08-14 18:06:22 +0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-03 00:53:25 +0000 |
commit | f0f14aac3dd129932915feabb120b946ba0428fc (patch) | |
tree | 3c902f9656f442253f94128f4b89394f5c2be117 | |
parent | 5b6ec1a7f487404504991c33918a6b02516f778a (diff) | |
download | edk2-f0f14aac3dd129932915feabb120b946ba0428fc.tar.gz edk2-f0f14aac3dd129932915feabb120b946ba0428fc.tar.bz2 edk2-f0f14aac3dd129932915feabb120b946ba0428fc.zip |
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 <nhi@os.amperecomputing.com>
-rw-r--r-- | FatPkg/EnhancedFatDxe/Init.c | 2 |
1 files changed, 1 insertions, 1 deletions
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;
}
|