summaryrefslogtreecommitdiff
path: root/sys/dev/ramdisk.h
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-12-10 21:01:30 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-12-10 21:01:30 +0000
commit23d528119fdd6605e9993e9505b7c5d1528bedc9 (patch)
treeb7ad06561b3abb444497f91cf4aaf8f5bb73f124 /sys/dev/ramdisk.h
parent61cdd4aabad435aaf180cbd20653376e5cf8d398 (diff)
fix a theoretical (but not possible) array bound overflow.
since we will always match on a rate, we won't overflow, but in that case, make it more obvious by if the first 11 rates don't match, we assume the 12th. should shut up parfait. ok damien@ who came up with an identical diff.
Diffstat (limited to 'sys/dev/ramdisk.h')
0 files changed, 0 insertions, 0 deletions