diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-23 11:41:12 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-23 11:41:12 +0000 |
commit | a1fb45bdb94af573c0ac5f65b5ddead479b4b7dd (patch) | |
tree | 85823f202c0ebb05f83b7ce2d57e9929f4cda844 | |
parent | 0ff597f9c7da8b6222db86f75925e02224fb8bba (diff) | |
download | ATCD-a1fb45bdb94af573c0ac5f65b5ddead479b4b7dd.tar.gz |
(main): replaced use of cerr with and ACE_ERROR_RETURN.
-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]); |