errno fixed for open and another zcalls