errno should not be used as a variable name.