Use &errno instead of __errno_location ().