diff options
Diffstat (limited to 'cpp/src/IceGrid/IceGridRegistry.cpp')
-rw-r--r-- | cpp/src/IceGrid/IceGridRegistry.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/IceGridRegistry.cpp b/cpp/src/IceGrid/IceGridRegistry.cpp index a4a4f92d682..8d2a3659bd2 100644 --- a/cpp/src/IceGrid/IceGridRegistry.cpp +++ b/cpp/src/IceGrid/IceGridRegistry.cpp @@ -10,12 +10,14 @@ #include <IceUtil/Options.h> #include <Ice/Ice.h> #include <Ice/Service.h> +#include <Ice/ConsoleUtil.h> #include <IceGrid/RegistryI.h> #include <IceGrid/TraceLevels.h> #include <IceGrid/Util.h> using namespace std; using namespace Ice; +using namespace IceUtilInternal; using namespace IceGrid; namespace IceGrid @@ -109,7 +111,7 @@ RegistryService::start(int argc, char* argv[], int& status) if(!args.empty()) { - cerr << argv[0] << ": too many arguments" << endl; + consoleErr << argv[0] << ": too many arguments" << endl; usage(argv[0]); return false; } |