@@ -257,7 +257,7 @@ extern dsp_status dcd_get_library_name(IN struct dcd_manager *hdcd_mgr,
* 0: Success.
* DSP_EDCDPARSESECT: Unable to parse content of object code section.
* DSP_EDCDREADSECT: Unable to read object code section.
- * DSP_EDCDGETSECT: Unable to access object code section.
+ * -EACCES: Unable to access object code section.
* -EACCES: Unable to load code base.
* -EPERM: General failure.
* -EFAULT: Invalid DCD_HMANAGER handle.
@@ -483,7 +483,7 @@ dsp_status dcd_get_object_def(IN struct dcd_manager *hdcd_mgr,
/* Get section information. */
status = cod_get_section(lib, sz_sect_name, &ul_addr, &ul_len);
if (DSP_FAILED(status)) {
- status = DSP_EDCDGETSECT;
+ status = -EACCES;
goto func_end;
}