summaryrefslogtreecommitdiff
path: root/etc/MAKEDEV.common
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2005-03-01 13:30:51 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2005-03-01 13:30:51 +0000
commitede7ae8b4b7b742079eac66134c38f0bd15f5193 (patch)
tree375da1e330030d9a1a9dab3c1763c2fd54b5a091 /etc/MAKEDEV.common
parent1998808011918579af03ab50cf4ca02742d5d7fb (diff)
Avoid 32-bit overflow by casting blk arg to lblktosize() to (off_t). Solves
performance loss issue in some cases when reading past the 2GB boundary in large files. Testing by drahn@, otto@, danh@, krw@, tom@, jaredy@. From FreeBSD. tedu@, pedro@ ok.
Diffstat (limited to 'etc/MAKEDEV.common')
0 files changed, 0 insertions, 0 deletions