diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-12-26 15:46:44 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-12-26 15:46:44 +0000 |
commit | 0bc80fab4dc53994efbd511b22b0c86d59baff8c (patch) | |
tree | 3e074e160a2e59a236f10781cfcb0e071b49fac8 /examples/Shared_Malloc/Options.cpp | |
parent | cde21c2507ace716fc833231662ff0f85ff13f5a (diff) | |
download | ATCD-0bc80fab4dc53994efbd511b22b0c86d59baff8c.tar.gz |
ChangeLogTag:Wed Dec 26 09:07:45 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'examples/Shared_Malloc/Options.cpp')
-rw-r--r-- | examples/Shared_Malloc/Options.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/Shared_Malloc/Options.cpp b/examples/Shared_Malloc/Options.cpp index 90a84b458e0..3338c55a810 100644 --- a/examples/Shared_Malloc/Options.cpp +++ b/examples/Shared_Malloc/Options.cpp @@ -160,13 +160,13 @@ Options::parse_args (int argc, char *argv[]) this->use_sbrk_ = 0; break; case 'L': - this->max_msg_size_ = ACE_OS::atoi (get_opt.optarg); + this->max_msg_size_ = ACE_OS::atoi (get_opt.opt_arg ()); break; case 'm': this->use_mmap_ = 1; break; case 'n': - this->iteration_count_ = ACE_OS::atoi (get_opt.optarg); + this->iteration_count_ = ACE_OS::atoi (get_opt.opt_arg ()); break; case 'p': // Spawn processes rather than threads this->spawn_threads_ = 0; @@ -176,7 +176,7 @@ Options::parse_args (int argc, char *argv[]) this->use_shmem_ = 1; break; case 't': - this->spawn_count_ = ACE_OS::atoi (get_opt.optarg); + this->spawn_count_ = ACE_OS::atoi (get_opt.opt_arg ()); break; case 'T': ACE_Trace::start_tracing (); |