Skip to content

Commit 1d3ca7f

Browse files
committed
Return DEPENDENCY_UNAVAILABLE error when loading TBB symbols failed
Return the UMF_RESULT_ERROR_DEPENDENCY_UNAVAILABLE error when loading the TBB symbols failed. Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 3a4f9a8 commit 1d3ca7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pool/pool_scalable.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ static umf_result_t tbb_pool_initialize(umf_memory_provider_handle_t provider,
287287
int ret = init_tbb_callbacks();
288288
if (ret != 0) {
289289
LOG_FATAL("loading TBB symbols failed");
290-
res = UMF_RESULT_ERROR_UNKNOWN;
290+
res = UMF_RESULT_ERROR_DEPENDENCY_UNAVAILABLE;
291291
goto err_tbb_init;
292292
}
293293

0 commit comments

Comments
 (0)