diff options
Diffstat (limited to 'performance-tests/Misc/test_guard.cpp')
-rw-r--r-- | performance-tests/Misc/test_guard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/performance-tests/Misc/test_guard.cpp b/performance-tests/Misc/test_guard.cpp index 78024742e5f..bbff5602888 100644 --- a/performance-tests/Misc/test_guard.cpp +++ b/performance-tests/Misc/test_guard.cpp @@ -72,7 +72,7 @@ main (int argc, char *argv[]) test_function = guard; break; case 'n': - iterations = ACE_OS::atoi (getopt.optarg); + iterations = ACE_OS::atoi (getopt.opt_arg ()); break; default: ACE_ERROR_RETURN ((LM_ERROR, |