* grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Degrade
the error when some elements are missing into a warning.
This commit is contained in:
parent
3f8cdd9052
commit
5d1182a66b
2 changed files with 11 additions and 2 deletions
|
@ -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>
|
2012-03-28 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/normal/charset.c (bidi_line_wrap): Fix out-of-range swap.
|
* grub-core/normal/charset.c (bidi_line_wrap): Fix out-of-range swap.
|
||||||
|
|
|
@ -296,8 +296,12 @@ grub_diskfilter_memberlist (grub_disk_t disk)
|
||||||
for (pv = lv->vg->pvs; pv; pv = pv->next)
|
for (pv = lv->vg->pvs; pv; pv = pv->next)
|
||||||
{
|
{
|
||||||
if (!pv->disk)
|
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 = grub_malloc (sizeof (*tmp));
|
||||||
tmp->disk = pv->disk;
|
tmp->disk = pv->disk;
|
||||||
tmp->next = list;
|
tmp->next = list;
|
||||||
|
|
Loading…
Reference in a new issue