afb-apiset: fixed the error message upon api open.