krw
032cc47f8b
Fix off by one comparison. FSMAXTYPES is the last valid index into
fstypesnames[], but that entry is NULL. The last valid file system name is at fstypesnames[FSMAXTYPES-1]. Encountered and diagnosed by pedro@. ok pedro@ deraadt@ |
18 years ago | |
---|---|---|
src | Fix off by one comparison. FSMAXTYPES is the last valid index into | 18 years ago |