summaryrefslogtreecommitdiffstats
path: root/sys/dev/cy
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-07-24 13:40:25 +0000
committerjhb <jhb@FreeBSD.org>2009-07-24 13:40:25 +0000
commit4064b20ecefb589d0b9290e558c0abfc5229c120 (patch)
tree0ecaf447bb33b2b1bdde8d4d53fead7bfeb0be83 /sys/dev/cy
parentd607f4c3e36cdfbb5b44004389ae0faeaf456f5b (diff)
downloadFreeBSD-src-4064b20ecefb589d0b9290e558c0abfc5229c120.zip
FreeBSD-src-4064b20ecefb589d0b9290e558c0abfc5229c120.tar.gz
Move the check to ensure the locate database has the minimum required size
when using mmap() before invoking mmap(). This avoids a confusing error message when locate is invoked against a zero-size database after the recent change to make mmap() fail requests to map 0 bytes. Submitted by: Jaakko Heinonen jh of saunalahti dot fi Approved by: re (kensmith) MFC after: 1 week
Diffstat (limited to 'sys/dev/cy')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud