* 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
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue