use correct errno
1.0.1