reset errno right befor the call I want to test