Skip to content

Commit 3a8f579

Browse files
[OpenMP] Update printf statement with missing argument. (#153704)
1 parent 583499a commit 3a8f579

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

openmp/libompd/gdb-plugin/ompdModule.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,8 @@ static PyObject *call_ompd_get_enclosing_parallel_handle(PyObject *self,
943943

944944
if (retVal != ompd_rc_ok) {
945945
_printf("An error occurred when calling "
946-
"ompd_get_enclosing_parallel_handle! Error code: %d",
946+
"ompd_get_enclosing_parallel_handle!"
947+
"Error code: %d",
947948
retVal);
948949
return Py_BuildValue("l", retVal);
949950
}
@@ -967,7 +968,7 @@ static PyObject *call_ompd_get_task_parallel_handle(PyObject *self,
967968

968969
if (retVal != ompd_rc_ok) {
969970
_printf("An error occurred when calling ompd_get_task_parallel_handle! "
970-
"Error code: %d");
971+
"Error code: %d", retVal);
971972
return Py_BuildValue("l", retVal);
972973
}
973974
return PyCapsule_New(taskParallelHandle, "ParallelHandle",

0 commit comments

Comments
 (0)