removed parens from errno and error calls