]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub-mkimage.c (generate_image): Fix "size of public key"
authorColin Watson <cjwatson@ubuntu.com>
Sun, 13 Jan 2013 01:47:46 +0000 (01:47 +0000)
committerColin Watson <cjwatson@ubuntu.com>
Sun, 13 Jan 2013 01:47:46 +0000 (01:47 +0000)
info message.

ChangeLog
util/grub-mkimage.c

index 14bff81737a7fc51a7ca826d0a01b1a241f23229..784d737c46a629bf8f4b490cf5fa602164fc5808 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        Remove nested functions from PCI iterators.
index 23a99706cdaa6292003678bb150eba5dd8e83e64..d0eecf2f666036d8b6d325b7a3288c3e3fd23f9d 100644 (file)
@@ -740,8 +740,8 @@ generate_image (const char *dir, const char *prefix,
       {
        size_t curs;
        curs = ALIGN_ADDR (grub_util_get_image_size (pubkey_paths[i]));
-       grub_util_info ("the size of public key is 0x%llx",
-                       (unsigned long long) pubkey_paths[i]);
+       grub_util_info ("the size of public key %zd is 0x%llx",
+                       i, (unsigned long long) curs);
        total_module_size += curs + sizeof (struct grub_module_header);
       }
   }