From d99af4f0e885711f011a56506ffcfc1e318b94ef Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 15 Dec 2013 14:42:19 +0100 Subject: [PATCH] * grub-core/commands/efi/lsefisystab.c: Use %lld to show num_table_entries. --- ChangeLog | 5 +++++ grub-core/commands/efi/lsefisystab.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0f7911293..9548d982e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-12-15 Vladimir Serbinenko + + * grub-core/commands/efi/lsefisystab.c: Use %lld to show + num_table_entries. + 2013-12-15 Vladimir Serbinenko * include/grub/test.h: Use gnu_printf rather than printf on GRUB diff --git a/grub-core/commands/efi/lsefisystab.c b/grub-core/commands/efi/lsefisystab.c index b2359253a..eda8c5ff3 100644 --- a/grub-core/commands/efi/lsefisystab.c +++ b/grub-core/commands/efi/lsefisystab.c @@ -71,7 +71,7 @@ grub_cmd_lsefisystab (struct grub_command *cmd __attribute__ ((unused)), grub_printf (", Version=%x\n", st->firmware_revision); - grub_printf ("%ld tables:\n", st->num_table_entries); + grub_printf ("%lld tables:\n", (long long) st->num_table_entries); t = st->configuration_table; for (i = 0; i < st->num_table_entries; i++) {