]> git.proxmox.com Git - grub2.git/commitdiff
* grub-core/commands/efi/lsefimmap.c (grub_cmd_lsefimmap):
authorColin Watson <cjwatson@ubuntu.com>
Tue, 21 Sep 2010 15:58:08 +0000 (16:58 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Tue, 21 Sep 2010 15:58:08 +0000 (16:58 +0100)
NumberOfPages is UINT64 according to the UEFI specification, not
UINTN.  Fix printf format.

ChangeLog
grub-core/commands/efi/lsefimmap.c

index 8514ef49b83c87eef76d79c2f7a5694913c3dcf0..ee71dff3792c50f842d5020bd0dd50be3bd679f3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-21  Colin Watson  <cjwatson@ubuntu.com>
+
+       * grub-core/commands/efi/lsefimmap.c (grub_cmd_lsefimmap):
+       NumberOfPages is UINT64 according to the UEFI specification, not
+       UINTN.  Fix printf format.
+
 2010-09-21  Colin Watson  <cjwatson@ubuntu.com>
 
        * grub-core/bus/usb/usbhub.c (poll_nonroot_hub): Change type of
index 30780447a7c1df5ae1d8705e24beff100baf32d6..2bb5dcb5db8021509627e1c09ce5dde67f4a1775 100644 (file)
@@ -80,7 +80,7 @@ grub_cmd_lsefimmap (grub_command_t cmd __attribute__ ((unused)),
        grub_printf ("Unk %02x   ", desc->type);
       
       grub_printf (" %016" PRIxGRUB_UINT64_T "-%016" PRIxGRUB_UINT64_T
-                  " %08" PRIxGRUB_EFI_UINTN_T,
+                  " %08" PRIxGRUB_UINT64_T,
                   desc->physical_start,
                   desc->physical_start + (desc->num_pages << 12) - 1,
                   desc->num_pages);