handler from overflow, avoid division by zero, place error checking code near to the syscall, style. Approved by: re (bmah)