diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-01-12 11:32:05 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-01-12 11:32:05 +0000 |
commit | 39821fb9b116e2a54f2458e58de8b40eda8ccdd3 (patch) | |
tree | 914fd5afe15dbbff79add22e3811f9d58fb8fd8c /performance-tests | |
parent | fa2f2a87da34c8c412e03372b6e6701c031378ab (diff) | |
download | ATCD-39821fb9b116e2a54f2458e58de8b40eda8ccdd3.tar.gz |
ChangeLogTag:Wed Jan 10 23:30:21 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'performance-tests')
-rw-r--r-- | performance-tests/Misc/context_switch_time.cpp | 4 | ||||
-rw-r--r-- | performance-tests/Misc/preempt.cpp | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/performance-tests/Misc/context_switch_time.cpp b/performance-tests/Misc/context_switch_time.cpp index 0178b04c427..611fc67ab6f 100644 --- a/performance-tests/Misc/context_switch_time.cpp +++ b/performance-tests/Misc/context_switch_time.cpp @@ -1102,7 +1102,9 @@ get_options (int argc, char *argv[]) new_lwp = THR_NEW_LWP; break; case '?': - ACE_DEBUG ((LM_ERROR, "usage: %n %s\n%a", usage, 0)); + ACE_DEBUG ((LM_ERROR, "usage: %n %s\n", usage)); + ACE_OS::exit (1); + /* NOTREACHED */ break; default: ACE_DEBUG ((LM_ERROR, "%n: unknown arg, %c\n", opt)); diff --git a/performance-tests/Misc/preempt.cpp b/performance-tests/Misc/preempt.cpp index f824ab17027..843e5572ba4 100644 --- a/performance-tests/Misc/preempt.cpp +++ b/performance-tests/Misc/preempt.cpp @@ -131,8 +131,8 @@ High_Priority_Task::open (void *) // Become an active object. if (this->activate (flags, 1, 0, this->priority_) == -1) { - ACE_DEBUG ((LM_ERROR, "(%P|%t) task activation failed, exiting!\n%a", - -1)); + ACE_DEBUG ((LM_ERROR, "(%P|%t) task activation failed, exiting!\n")); + ACE_OS::exit (1); } return 0; |