diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-10-02 12:01:41 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-10-02 12:01:41 +0000 |
commit | a7583d5e274608fc59de9d0a30f43dde1ef34df5 (patch) | |
tree | a9c056acf5a1e27efd21c8f65e665ee522c63413 /sys/dev/pci | |
parent | 5d3cbc62a7d3dda902d3fde415fa32ac040f3206 (diff) |
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@
Diffstat (limited to 'sys/dev/pci')
0 files changed, 0 insertions, 0 deletions