where we set errno, make sure it's the real errno