* grub-core/disk/diskfilter.c (grub_diskfilter_iterate): Fix off-by-one
error.
This commit is contained in:
parent
7134247cd8
commit
fb312cd9da
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* configure.ac: Remove inappropriate use of program_transform_name
|
* configure.ac: Remove inappropriate use of program_transform_name
|
||||||
|
|
|
@ -214,7 +214,7 @@ grub_diskfilter_iterate (int (*hook) (const char *name),
|
||||||
|
|
||||||
if (pull == GRUB_DISK_PULL_RESCAN)
|
if (pull == GRUB_DISK_PULL_RESCAN)
|
||||||
{
|
{
|
||||||
islcnt = inscnt;
|
islcnt = inscnt + 1;
|
||||||
scan_devices (NULL);
|
scan_devices (NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue