[Openmp-commits] [openmp] 3a8f579 - [OpenMP] Update printf statement with missing argument. (#153704)
via Openmp-commits
openmp-commits at lists.llvm.org
Fri Aug 15 09:34:03 PDT 2025
Author: CatherineMoore
Date: 2025-08-15T16:34:00Z
New Revision: 3a8f579a23d0362f77152085846e8e3d80df6b09
URL: https://github.com/llvm/llvm-project/commit/3a8f579a23d0362f77152085846e8e3d80df6b09
DIFF: https://github.com/llvm/llvm-project/commit/3a8f579a23d0362f77152085846e8e3d80df6b09.diff
LOG: [OpenMP] Update printf statement with missing argument. (#153704)
Added:
Modified:
openmp/libompd/gdb-plugin/ompdModule.c
Removed:
################################################################################
diff --git a/openmp/libompd/gdb-plugin/ompdModule.c b/openmp/libompd/gdb-plugin/ompdModule.c
index df602c54aba37..6edc1cdc9c60b 100644
--- a/openmp/libompd/gdb-plugin/ompdModule.c
+++ b/openmp/libompd/gdb-plugin/ompdModule.c
@@ -943,7 +943,8 @@ static PyObject *call_ompd_get_enclosing_parallel_handle(PyObject *self,
if (retVal != ompd_rc_ok) {
_printf("An error occurred when calling "
- "ompd_get_enclosing_parallel_handle! Error code: %d",
+ "ompd_get_enclosing_parallel_handle!"
+ "Error code: %d",
retVal);
return Py_BuildValue("l", retVal);
}
@@ -967,7 +968,7 @@ static PyObject *call_ompd_get_task_parallel_handle(PyObject *self,
if (retVal != ompd_rc_ok) {
_printf("An error occurred when calling ompd_get_task_parallel_handle! "
- "Error code: %d");
+ "Error code: %d", retVal);
return Py_BuildValue("l", retVal);
}
return PyCapsule_New(taskParallelHandle, "ParallelHandle",
More information about the Openmp-commits
mailing list