error code differs in netbsd