diff options
-rw-r--r-- | examples/Map_Manager/test_hash_map_manager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/Map_Manager/test_hash_map_manager.cpp b/examples/Map_Manager/test_hash_map_manager.cpp index 8a4fa292d23..752f5af1940 100644 --- a/examples/Map_Manager/test_hash_map_manager.cpp +++ b/examples/Map_Manager/test_hash_map_manager.cpp @@ -13,7 +13,8 @@ int main (int argc, char *argv[]) { if (argc != 4) - cerr << "usage: " << argv[0] << " tablesize file1 file2\n"; + ACE_ERROR_RETURN ((LM_ERROR, "usage: %s tablesize file1 file2\n", + argv[0]), -1); else { int total = ACE_OS::atoi (argv[1]); |