From f7655f3df394d90a340dc09465fbb752bef4bae6 Mon Sep 17 00:00:00 2001 From: "Peyton, Jonathan L" Date: Wed, 2 Jun 2021 11:03:48 -0500 Subject: [PATCH] [OpenMP] Fix improper printf format specifier --- openmp/runtime/src/ompt-general.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmp/runtime/src/ompt-general.cpp b/openmp/runtime/src/ompt-general.cpp index b0af181..b2f244f 100644 --- a/openmp/runtime/src/ompt-general.cpp +++ b/openmp/runtime/src/ompt-general.cpp @@ -310,7 +310,7 @@ ompt_try_start_tool(unsigned int omp_version, const char *runtime_version) { fname); start_tool = (ompt_start_tool_t)GetProcAddress(h, "ompt_start_tool"); if (!start_tool) { - OMPT_VERBOSE_INIT_CONTINUED_PRINT("Failed: Error %s\n", + OMPT_VERBOSE_INIT_CONTINUED_PRINT("Failed: Error %u\n", GetLastError()); } else #else -- 2.7.4