diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-09 18:45:47 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-09 18:45:47 +0000 |
commit | 9e891eb27b398c7ff56b338ee472907d65845411 (patch) | |
tree | 96017a09957bb4978c7520dc5937b26423990c5b /TAO/examples/RTScheduling/Thread_Task.cpp | |
parent | 018a00dc37de3d2122d08c5e51d3e29f42d9b2dd (diff) | |
download | ATCD-9e891eb27b398c7ff56b338ee472907d65845411.tar.gz |
Thu Oct 9 18:45:45 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/examples/RTScheduling/Thread_Task.cpp')
-rw-r--r-- | TAO/examples/RTScheduling/Thread_Task.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/TAO/examples/RTScheduling/Thread_Task.cpp b/TAO/examples/RTScheduling/Thread_Task.cpp index aa1be1b9caa..ce028b932d6 100644 --- a/TAO/examples/RTScheduling/Thread_Task.cpp +++ b/TAO/examples/RTScheduling/Thread_Task.cpp @@ -108,20 +108,21 @@ Thread_Task::dist (void) void Thread_Task::dump_stats (void) { - char fname [BUFSIZ]; + ACE_TCHAR fname [BUFSIZ]; ACE_OS::sprintf (fname, - "DT_" + ACE_TEXT("DT_") ACE_SIZE_T_FORMAT_SPECIFIER - ".dat",count_); + ACE_TEXT(".dat"), + count_); if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG, "File name %s\n", fname)); - char msg [BUFSIZ]; + ACE_TCHAR msg [BUFSIZ]; ACE_OS::sprintf (msg, - "#Schedule Output for DT " + ACE_TEXT("#Schedule Output for DT ") ACE_SIZE_T_FORMAT_SPECIFIER, count_); |