Fix error_tail overflow in allocation calculation.
soft-fp: fix vertical whitespace and indentation.