summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_stats_timing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/src/kmp_stats_timing.cpp')
-rw-r--r--openmp/runtime/src/kmp_stats_timing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/src/kmp_stats_timing.cpp b/openmp/runtime/src/kmp_stats_timing.cpp
index 987ea4f764d..08263670ea4 100644
--- a/openmp/runtime/src/kmp_stats_timing.cpp
+++ b/openmp/runtime/src/kmp_stats_timing.cpp
@@ -54,7 +54,7 @@ double tsc_tick_count::tick_time()
for (;*start == ' '; start++)
;
- char * end = brand + strlen(brand) - 3;
+ char * end = brand + KMP_STRLEN(brand) - 3;
uint64_t multiplier;
if (*end == 'M') multiplier = 1000LL*1000LL;
OpenPOWER on IntegriCloud