diff --git a/src/mon/MonMap.cc b/src/mon/MonMap.cc index d3978afb602ce..7012e0545cf07 100644 --- a/src/mon/MonMap.cc +++ b/src/mon/MonMap.cc @@ -329,8 +329,7 @@ int MonMap::build_initial(CephContext *cct, ostream& errout) } if (size() == 0) { - errout << "unable to find any monitors in conf. " - << "please specify monitors via -m monaddr or -c ceph.conf" << std::endl; + errout << "no monitors specified to connect to." << std::endl; return -ENOENT; } return 0;