summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_param.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-12-10 05:14:04 +0000
committerkib <kib@FreeBSD.org>2012-12-10 05:14:04 +0000
commitd4cecb240caca2c96da882bd13f442396df68816 (patch)
tree1abbbaa1e0cec23fe4813c9d767d52ff8ab2db1c /sys/kern/subr_param.c
parent641397eb9a7e8ad64ec02351d1a77decf3be058e (diff)
downloadFreeBSD-src-d4cecb240caca2c96da882bd13f442396df68816.zip
FreeBSD-src-d4cecb240caca2c96da882bd13f442396df68816.tar.gz
Do not ignore zero address, possibly returned by the vm_map_find()
call. The function indicates a failure by the TRUE return value. To be extra safe, assert that the return value from the following vm_map_insert() indicates success. Fix style issues in the nearby lines, reformulate the comment. Reviewed by: alc (previous version) Sponsored by: The FreeBSD Foundation MFC after: 1 week
Diffstat (limited to 'sys/kern/subr_param.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud