upgrade errno