Skip to content

Commit

Permalink
coverity fix (Xilinx#2719)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarab96 authored and maxzhen committed Jan 24, 2020
1 parent cf3fe09 commit 1814985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xma/src/xmaplugin/xmaplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ XmaCUCmdObj xma_plg_schedule_cu_cmd(XmaSession s_handle,
} else {
//Get the kernel_info
if (cu_index < 0 || (uint32_t)cu_index > priv1->device->kernels.size()) {
xma_logmsg(XMA_ERROR_LOG, XMAPLUGIN_MOD, "Session id: %d, type: %s. xma_plg_schedule_cu_cmd failed. Invalud cu_index.\n");
xma_logmsg(XMA_ERROR_LOG, XMAPLUGIN_MOD, "Session id: %d, type: %s. xma_plg_schedule_cu_cmd failed. Invalud cu_index.\n", s_handle.session_id, xma_core::get_session_name(s_handle.session_type).c_str());
if (return_code) *return_code = XMA_ERROR;
return cmd_obj_error;
}
Expand Down

0 comments on commit 1814985

Please sign in to comment.