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

"out of memory" error messagge.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-10 13:10:07 +01:00
parent 1f49313672
commit c9eb96b508
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): Use
"out of memory" error messagge.
2012-03-10 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Add scanning

View file

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