Fix an off-by-one error in getvfsent().
Detected by: phkmalloc :)
This commit is contained in:
parent
66e7fce7ac
commit
55e0d3b7cf
|
@ -61,7 +61,7 @@ getvfsent(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
if(_vfs_index > _vfslistlen) {
|
if(_vfs_index >= _vfslistlen) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue