Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/cuda/linux-cuda.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ static int cuda_init_private(void)
// Cuda component is disabled
else {
strLen = snprintf(_cuda_vector.cmp_info.disabled_reason, PAPI_HUGE_STR_LEN, "%s", err_string);
if (strLen < 0 || strLen >= PAPI_MAX_STR_LEN) {
if (strLen < 0 || strLen >= PAPI_HUGE_STR_LEN) {
SUBDBG("Failed to fully write the disabled reason.\n");
}
goto fn_fail;
Expand Down