]> git.proxmox.com Git - mirror_edk2.git/commitdiff
FatPkg/FatPei: Remove extraneous debug message argument
authorMichael Kubacki <michael.kubacki@microsoft.com>
Tue, 2 Aug 2022 11:52:09 +0000 (07:52 -0400)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 9 Sep 2022 01:42:39 +0000 (01:42 +0000)
This debug macro should take one argument based on the number of
print specifiers defined. However, two arguments are given.

It looks like the code may have been refactored such that the
second argument was moved to a new print and this argument was
not removed. In any case, it should not be there now.

Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
FatPkg/FatPei/Gpt.c

index 0a1a25ceeff10ecfb3f03251bb0906d2881bed91..9e17ce88086f38b890f531840912e88de6f233d9 100644 (file)
@@ -361,7 +361,7 @@ PartitionCheckGptEntryArray (
 \r
     PrivateData->BlockDeviceCount++;\r
 \r
-    DEBUG ((DEBUG_INFO, "Find GPT Partition [0x%lx", PartitionEntryBuffer[Index].StartingLBA, BlockDevPtr->LastBlock));\r
+    DEBUG ((DEBUG_INFO, "Find GPT Partition [0x%lx", PartitionEntryBuffer[Index].StartingLBA));\r
     DEBUG ((DEBUG_INFO, ", 0x%lx]\n", BlockDevPtr->LastBlock));\r
     DEBUG ((DEBUG_INFO, "         BlockSize %x\n", BlockDevPtr->BlockSize));\r
   }\r