simplify errno