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

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

View file

@ -1,3 +1,8 @@
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/diskfilter.c (grub_diskfilter_iterate): Fix off-by-one
error.
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Remove inappropriate use of program_transform_name

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);
}