summaryrefslogtreecommitdiffstats
path: root/openmp
diff options
context:
space:
mode:
Diffstat (limited to 'openmp')
-rw-r--r--openmp/libomptarget/deviceRTLs/common/src/libcall.cu2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/libomptarget/deviceRTLs/common/src/libcall.cu b/openmp/libomptarget/deviceRTLs/common/src/libcall.cu
index b9d37f48efa..00eec92d71e 100644
--- a/openmp/libomptarget/deviceRTLs/common/src/libcall.cu
+++ b/openmp/libomptarget/deviceRTLs/common/src/libcall.cu
@@ -358,7 +358,7 @@ EXTERN void omp_unset_lock(omp_lock_t *lock) {
EXTERN int omp_test_lock(omp_lock_t *lock) {
int rc = __kmpc_impl_test_lock(lock);
- PRINT(LD_IO, "call omp_test_lock() return %d\n", ret);
+ PRINT(LD_IO, "call omp_test_lock() return %d\n", rc);
return rc;
}
OpenPOWER on IntegriCloud