[Openmp-commits] [openmp] Update ompdModule.c (PR #152785)
via Openmp-commits
openmp-commits at lists.llvm.org
Fri Aug 8 13:00:28 PDT 2025
https://github.com/CatherineMoore created https://github.com/llvm/llvm-project/pull/152785
Update printf format string to match argument list
>From 3bfff7d16ab5e171bb30dfbbae4d55e00819e3fb Mon Sep 17 00:00:00 2001
From: CatherineMoore <catmoore at amd.com>
Date: Fri, 8 Aug 2025 16:00:03 -0400
Subject: [PATCH] Update ompdModule.c
Update printf format string to match argument list
---
openmp/libompd/gdb-plugin/ompdModule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/openmp/libompd/gdb-plugin/ompdModule.c b/openmp/libompd/gdb-plugin/ompdModule.c
index df602c54aba37..8bc22a98f9a9d 100644
--- a/openmp/libompd/gdb-plugin/ompdModule.c
+++ b/openmp/libompd/gdb-plugin/ompdModule.c
@@ -1180,7 +1180,7 @@ static PyObject *call_ompd_get_icv_from_scope(PyObject *self, PyObject *args) {
if (retVal != ompd_rc_ok) {
if (retVal != ompd_rc_incomplete) {
- _printf("An error occurred when calling ompd_get_icv_from_scope(%i, %i): "
+ _printf("An error occurred when calling ompd_get_icv_from_scope(%i, %ul): "
"Error code: %d",
scope, icvId, retVal);
}
More information about the Openmp-commits
mailing list