diff --git a/ChangeLog b/ChangeLog index 87e89b4c4..0ac5e5838 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-02-27 Vladimir Serbinenko + + * grub-core/disk/diskfilter.c (grub_diskfilter_iterate): Fix off-by-one + error. + 2012-02-27 Vladimir Serbinenko * configure.ac: Remove inappropriate use of program_transform_name diff --git a/grub-core/disk/diskfilter.c b/grub-core/disk/diskfilter.c index b02fcc60e..14f7c0340 100644 --- a/grub-core/disk/diskfilter.c +++ b/grub-core/disk/diskfilter.c @@ -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); }