Handle errno of 0