summaryrefslogtreecommitdiff
path: root/ACE/tests/Thread_Pool_Test.cpp
diff options
context:
space:
mode:
authorAdam Mitz <mitza@ociweb.com>2015-11-06 17:07:11 -0600
committerAdam Mitz <mitza@ociweb.com>2015-11-06 17:07:11 -0600
commitac5e1702c9f9bee9f1f7bfce8c1a6f3847ea6b4b (patch)
tree0e70d1f51c39e688a05a6cdc2af58408222e4a0d /ACE/tests/Thread_Pool_Test.cpp
parent5272b5b81f92c298cb998b5bb0b0dbca3e7f29fe (diff)
downloadATCD-ac5e1702c9f9bee9f1f7bfce8c1a6f3847ea6b4b.tar.gz
Merged branch ace-face-safety (FACE Safety Profile import from OCITAO).
Diffstat (limited to 'ACE/tests/Thread_Pool_Test.cpp')
-rw-r--r--ACE/tests/Thread_Pool_Test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/tests/Thread_Pool_Test.cpp b/ACE/tests/Thread_Pool_Test.cpp
index 251f5ad19c2..0a930b67113 100644
--- a/ACE/tests/Thread_Pool_Test.cpp
+++ b/ACE/tests/Thread_Pool_Test.cpp
@@ -236,7 +236,7 @@ Thread_Pool::test_queue_deactivation_shutdown (void)
{
static size_t count = 0;
- ACE_OS::sprintf (reinterpret_cast<ACE_TCHAR *> (mb->wr_ptr ()),
+ ACE_OS::snprintf (reinterpret_cast<ACE_TCHAR *> (mb->wr_ptr ()), BUFSIZ,
ACE_SIZE_T_FORMAT_SPECIFIER,
count);
n = ACE_OS::strlen (mb->rd_ptr ());
@@ -328,7 +328,7 @@ Thread_Pool::test_empty_message_shutdown (void)
{
static size_t count = 0;
- ACE_OS::sprintf (reinterpret_cast<ACE_TCHAR *> (mb->wr_ptr ()),
+ ACE_OS::snprintf (reinterpret_cast<ACE_TCHAR *> (mb->wr_ptr ()), BUFSIZ,
ACE_SIZE_T_FORMAT_SPECIFIER,
count);
n = ACE_OS::strlen (mb->rd_ptr ());