mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 10:39:22 +00:00
* grub-core/commands/efi/lsefimmap.c (grub_cmd_lsefimmap):
NumberOfPages is UINT64 according to the UEFI specification, not UINTN. Fix printf format.
This commit is contained in:
1 parent
174de8f340
commit
b031012d70
2 files changed
+7
-1
No files matched your search
@@ -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>
|
2010-09-21 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
* grub-core/bus/usb/usbhub.c (poll_nonroot_hub): Change type of
|
* grub-core/bus/usb/usbhub.c (poll_nonroot_hub): Change type of
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ grub_cmd_lsefimmap (grub_command_t cmd __attribute__ ((unused)),
|
|||||||
grub_printf ("Unk %02x ", desc->type);
|
grub_printf ("Unk %02x ", desc->type);
|
||||||
|
|
||||||
grub_printf (" %016" PRIxGRUB_UINT64_T "-%016" PRIxGRUB_UINT64_T
|
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->physical_start + (desc->num_pages << 12) - 1,
|
desc->physical_start + (desc->num_pages << 12) - 1,
|
||||||
desc->num_pages);
|
desc->num_pages);
|
||||||
|
|||||||
Reference in new issue
Block a user