diff --git a/ChangeLog b/ChangeLog index 2b102cf48..cf1623f36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-03-05 Vladimir Serbinenko + + * util/grub-mkimage.c (generate_image): Unify diskboot.img size message. + 2012-03-05 Vladimir Serbinenko * grub-core/net/http.c: Add TRANSLATORS comments. diff --git a/util/grub-mkimage.c b/util/grub-mkimage.c index ef3421628..b49c0815d 100644 --- a/util/grub-mkimage.c +++ b/util/grub-mkimage.c @@ -1288,7 +1288,8 @@ generate_image (const char *dir, const char *prefix, boot_path = grub_util_get_path (dir, "diskboot.img"); boot_size = grub_util_get_image_size (boot_path); if (boot_size != GRUB_DISK_SECTOR_SIZE) - grub_util_error ("%s", _("diskboot.img is not one sector size")); + grub_util_error (_("diskboot.img size must be %u bytes"), + GRUB_DISK_SECTOR_SIZE); boot_img = grub_util_read_image (boot_path);