From: Mika Laitio Date: Thu, 16 Jun 2011 18:57:59 +0000 (+0300) Subject: better error handling in case where the device specific config file is missing X-Git-Url: http://pilppa.org/gitweb/?p=libplpbus.git;a=commitdiff_plain;h=ad609e512662ad3734340f35d7072b939d1a58cc better error handling in case where the device specific config file is missing Signed-off-by: Mika Laitio --- diff --git a/src/plpbus/OrbServerImpl.cc b/src/plpbus/OrbServerImpl.cc index 0a037f2..7085b21 100644 --- a/src/plpbus/OrbServerImpl.cc +++ b/src/plpbus/OrbServerImpl.cc @@ -332,8 +332,8 @@ CosNaming::NamingContext_var OrbServerImpl::get_naming_service_context(const cha log_error("Failed to get context from name service for %s, Naming service is not running or has configuration problem.\n", service_name_param); log_error("Check-list:\n"); log_error("If you have OMNIORB_CONFIG environment variable defined, verify that omniORB.cfg file exist in that location.\n"); - log_error("If you do not have OMNIORB_CONFIG environment variable defined, verify that you have /etc/omniORB.cfg file\n"); - log_error("Verify that InitRef line is defined in omniORB.cfg file.\n"); + log_error("If you do not have OMNIORB_CONFIG environment variable defined, verify that you have /etc/omniORB.cfg file.\n"); + log_error("Verify that InitRef line is defined in /etc/omniORB.cfg file.\n"); } catch(CORBA::SystemException& ex) { log_error("Failed to get naming service context for %s, system error.\n", service_name_param);