summaryrefslogtreecommitdiff
path: root/sbin/badsect
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-07-29 17:45:21 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-07-29 17:45:21 +0000
commitf34b0c32e1c30ec9659a03009994b75fd113201e (patch)
tree2088ea311f5af4fc00ed4336e9b10f3e0250be91 /sbin/badsect
parent1cbf083622825cb0aaa98dcae4dad738a37b77e4 (diff)
Fix two off-by-one errors when sanity-checking inode numbers. In
ext2fs, inode numbers start at 1, so the maximum valid inode number is (s_inodes_per_group * s_groups_count), not one less. From FreeBSD. costa@ ok.
Diffstat (limited to 'sbin/badsect')
0 files changed, 0 insertions, 0 deletions