]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/disk/arc/arcdisk.c (grub_arcdisk_iterate_iter):
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 21 Apr 2013 11:06:22 +0000 (13:06 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 21 Apr 2013 11:06:22 +0000 (13:06 +0200)
Fix a type which prevented CD-ROM and floppy boot.

ChangeLog
grub-core/disk/arc/arcdisk.c

index 6be583e5807d1b80e42d9bc6d7533cdfee28b2a0..2150d3da5ac5fe96f16a02d06ffdc5af9bd64b29 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 5d1212843709dc6f91ad09a83c8a4d97e0f6c13d..780728f68420745d8ccbbf683e66a3d95a588376 100644 (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);