Use symbolic names instead of hard-coding the errno number