* util/grub-mkimage.c (generate_image): Fix "size of public key"

info message.
This commit is contained in:
Colin Watson 2013-01-13 01:47:46 +00:00
parent ca3a74469a
commit a45289370a
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2013-01-13 Colin Watson <cjwatson@ubuntu.com>
* util/grub-mkimage.c (generate_image): Fix "size of public key"
info message.
2013-01-13 Colin Watson <cjwatson@ubuntu.com> 2013-01-13 Colin Watson <cjwatson@ubuntu.com>
Remove nested functions from PCI iterators. Remove nested functions from PCI iterators.

View file

@ -740,8 +740,8 @@ generate_image (const char *dir, const char *prefix,
{ {
size_t curs; size_t curs;
curs = ALIGN_ADDR (grub_util_get_image_size (pubkey_paths[i])); curs = ALIGN_ADDR (grub_util_get_image_size (pubkey_paths[i]));
grub_util_info ("the size of public key is 0x%llx", grub_util_info ("the size of public key %zd is 0x%llx",
(unsigned long long) pubkey_paths[i]); i, (unsigned long long) curs);
total_module_size += curs + sizeof (struct grub_module_header); total_module_size += curs + sizeof (struct grub_module_header);
} }
} }