* grub-core/disk/arc/arcdisk.c (grub_arcdisk_iterate_iter):

Fix a type which prevented CD-ROM and floppy boot.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-04-21 13:06:22 +02:00
parent d178788e71
commit 17fca5734b
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-04-21 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/arc/arcdisk.c (grub_arcdisk_iterate_iter):
Fix a type which prevented CD-ROM and floppy boot.
2013-04-21 Vladimir Serbinenko <phcoder@gmail.com>
Support coreboot framebuffer.

View file

@ -95,7 +95,7 @@ grub_arcdisk_iterate_iter (const char *name,
struct grub_arcdisk_iterate_ctx *ctx = data;
if (!(comp->type == GRUB_ARC_COMPONENT_TYPE_DISK
|| comp->type == GRUB_ARC_COMPONENT_TYPE_DISK
|| comp->type == GRUB_ARC_COMPONENT_TYPE_FLOPPY
|| comp->type == GRUB_ARC_COMPONENT_TYPE_TAPE))
return 0;
return ctx->hook (name, ctx->hook_data);