Don't assume that errno is 0 when we start.