* grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Degrade

the error when some elements are missing into a warning.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-28 17:56:45 +02:00
parent 3f8cdd9052
commit 5d1182a66b
2 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2012-03-28 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Degrade
the error when some elements are missing into a warning.
2012-03-28 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/normal/charset.c (bidi_line_wrap): Fix out-of-range swap.

View file

@ -296,8 +296,12 @@ grub_diskfilter_memberlist (grub_disk_t disk)
for (pv = lv->vg->pvs; pv; pv = pv->next)
{
if (!pv->disk)
grub_util_error (_("Couldn't find physical volume `%s'."
" Check your device.map"), pv->name);
{
grub_util_warn (_("Couldn't find physical volume `%s'."
" Some modules may be missing from core image."),
pv->name);
continue;
}
tmp = grub_malloc (sizeof (*tmp));
tmp->disk = pv->disk;
tmp->next = list;