* grub-core/disk/ldm.c (grub_util_ldm_embed): Correct error message.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-03 11:48:42 +01:00
parent f7c71e68b5
commit 54e2be2630
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2012-02-03 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/ldm.c (grub_util_ldm_embed): Correct error message.
2012-02-03 Vladimir Serbinenko <phcoder@gmail.com> 2012-02-03 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/commands/search_file.c (SEARCH_TARGET): Remove obsolete * grub-core/commands/search_file.c (SEARCH_TARGET): Remove obsolete

View file

@ -917,7 +917,7 @@ grub_util_ldm_embed (struct grub_disk *disk, unsigned int *nsectors,
if (embed_type != GRUB_EMBED_PCBIOS) if (embed_type != GRUB_EMBED_PCBIOS)
return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
"GPT curently supports only PC-BIOS embedding"); "LDM curently supports only PC-BIOS embedding");
if (disk->partition) if (disk->partition)
return grub_error (GRUB_ERR_FILE_NOT_FOUND, "disk isn't LDM"); return grub_error (GRUB_ERR_FILE_NOT_FOUND, "disk isn't LDM");
pv = grub_diskfilter_get_pv_from_disk (disk, &vg); pv = grub_diskfilter_get_pv_from_disk (disk, &vg);