* grub-core/loader/efi/chainloader.c (grub_cmd_chainloader): Fix format

in dprintf.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-10 18:02:53 +01:00
parent ec31677170
commit 922aabf34b
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-03-10 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/loader/efi/chainloader.c (grub_cmd_chainloader): Fix format
in dprintf.
2012-03-10 Vladimir Serbinenko <phcoder@gmail.com>
Fix IMSM handling on Fedora.

View file

@ -252,7 +252,8 @@ grub_cmd_chainloader (grub_command_t cmd __attribute__ ((unused)),
pages, &address);
if (status != GRUB_EFI_SUCCESS)
{
grub_dprintf ("chain", "Failed to allocate %u pages\n", pages);
grub_dprintf ("chain", "Failed to allocate %u pages\n",
(unsigned int) pages);
grub_error (GRUB_ERR_OUT_OF_MEMORY, N_("out of memory"));
goto fail;
}