summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-22 12:46:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-22 12:46:37 +0000
commit2b0fe572619727adcef6105885b5e9e14a7250da (patch)
tree9f6607abb1ec2017d89e4ae5d713f3f73d21ec8d /sys/compat
parent86f0d598c3169b42fcd878daa478422c2f32a090 (diff)
Fix growstackblock() 'newlen' calculations:
(1) it needs to be ALIGNed for both halves of the 'if,' and (2) if you're going to claim that you now have ALIGN(newlen) bytes left, you should have actually allocated ALIGN(newlen), rather than just 'newlen' bytes.
Diffstat (limited to 'sys/compat')
0 files changed, 0 insertions, 0 deletions