* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_iterate): Skip with

non-zero pull.
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2011-08-16 23:12:20 +02:00
1 parent 43526629e5
commit 2bba8cfd55
2 files changed
+8

No files matched your search

+3
View File
@@ -217,6 +217,9 @@ grub_util_biosdisk_iterate (int (*hook) (const char *name),
{
unsigned i;
if (pull != GRUB_DISK_PULL_NONE)
return 0;
for (i = 0; i < sizeof (map) / sizeof (map[0]); i++)
if (map[i].drive && hook (map[i].drive))
return 1;