* grub-core/disk/diskfilter.c (grub_diskfilter_iterate): Fix off-by-one

error.
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2012-02-27 11:39:15 +01:00
1 parent 7134247cd8
commit fb312cd9da
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -214,7 +214,7 @@ grub_diskfilter_iterate (int (*hook) (const char *name),
if (pull == GRUB_DISK_PULL_RESCAN)
{
islcnt = inscnt;
islcnt = inscnt + 1;
scan_devices (NULL);
}