summaryrefslogtreecommitdiffstats
path: root/sys/nlm
diff options
context:
space:
mode:
authorallanjude <allanjude@FreeBSD.org>2016-05-20 01:41:47 +0000
committerallanjude <allanjude@FreeBSD.org>2016-05-20 01:41:47 +0000
commitb245978b1884863127ad9cf3bf166275bbc6c000 (patch)
tree7b9886f89b4327bdf82e4568897c3a4bef861078 /sys/nlm
parent63c3e2f6af0f81f34115ef85f2c29bf39e0f83bc (diff)
downloadFreeBSD-src-b245978b1884863127ad9cf3bf166275bbc6c000.zip
FreeBSD-src-b245978b1884863127ad9cf3bf166275bbc6c000.tar.gz
Fixup the geliboot sector rounding code
Replace all rounding with the round{up,down}2 macros a missing set of braces caused the previous code to be incorrect replace alloca() with malloc() because alloca() can return an allocation that is actually invalid, causing boot to fail Reviewed by: emaste, ed Thanks To: peter Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D6213
Diffstat (limited to 'sys/nlm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud