summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-23 11:41:12 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-23 11:41:12 +0000
commita1fb45bdb94af573c0ac5f65b5ddead479b4b7dd (patch)
tree85823f202c0ebb05f83b7ce2d57e9929f4cda844
parent0ff597f9c7da8b6222db86f75925e02224fb8bba (diff)
downloadATCD-a1fb45bdb94af573c0ac5f65b5ddead479b4b7dd.tar.gz
(main): replaced use of cerr with and ACE_ERROR_RETURN.
-rw-r--r--examples/Map_Manager/test_hash_map_manager.cpp3
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]);