summaryrefslogtreecommitdiff
path: root/ace/High_Res_Timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/High_Res_Timer.cpp')
-rw-r--r--ace/High_Res_Timer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/High_Res_Timer.cpp b/ace/High_Res_Timer.cpp
index 78cf8b1225c..4b311f5cbf3 100644
--- a/ace/High_Res_Timer.cpp
+++ b/ace/High_Res_Timer.cpp
@@ -198,8 +198,8 @@ ACE_High_Res_Timer::print_ave (const char *str, const int count, ACE_HANDLE hand
ACE_OS::sprintf (buf, " total %3lu.%06lu secs\n",
total_secs, (extra_nsecs + 500) / 1000);
- ACE_OS::write (handle, str, strlen (str));
- ACE_OS::write (handle, buf, strlen (buf));
+ ACE_OS::write (handle, str, ACE_OS::strlen (str));
+ ACE_OS::write (handle, buf, ACE_OS::strlen (buf));
}
void
@@ -232,8 +232,8 @@ ACE_High_Res_Timer::print_total (const char *str, const int count, ACE_HANDLE ha
ACE_OS::sprintf (buf, " total %3lu.%06lu secs\n",
total_secs, (extra_nsecs + 500) / 1000);
- ACE_OS::write (handle, str, strlen (str));
- ACE_OS::write (handle, buf, strlen (buf));
+ ACE_OS::write (handle, str, ACE_OS::strlen (str));
+ ACE_OS::write (handle, buf, ACE_OS::strlen (buf));
}
int