Similar code in nss/getXXbyYY_r.c is already using &errno as the argument.
mentioned in commit bdd8422c
mentioned in commit 196990f9