- Fixed missing return for errno