Revise returned errno