diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 7859d2b64d4..9ff8ef8f2b4 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -1841,7 +1841,7 @@ bool OSDMonitor::prepare_failure(MonOpRequestRef op) if (m->if_osd_failed()) { // add a report mon->clog->debug() << m->get_target() << " reported failed by " - << m->get_orig_source_inst() << "\n"; + << m->get_orig_source_inst() << "\n"; failure_info_t& fi = failure_info[target_osd]; MonOpRequestRef old_op = fi.add_report(reporter, failed_since, op); if (old_op) { diff --git a/src/mon/PaxosService.cc b/src/mon/PaxosService.cc index 69880bff720..647309deec0 100644 --- a/src/mon/PaxosService.cc +++ b/src/mon/PaxosService.cc @@ -207,7 +207,7 @@ bool PaxosService::should_stash_full() */ return (!latest_full || (latest_full <= get_trim_to()) || - (get_last_committed() - latest_full > (unsigned)g_conf->paxos_stash_full_interval)); + (get_last_committed() - latest_full > (version_t)g_conf->paxos_stash_full_interval)); } void PaxosService::restart() diff --git a/src/tools/rados/rados.cc b/src/tools/rados/rados.cc index 53287c7d9b8..f3d3da4eaae 100644 --- a/src/tools/rados/rados.cc +++ b/src/tools/rados/rados.cc @@ -377,7 +377,7 @@ static int do_copy_pool(Rados& rados, const char *src_pool, const char *target_p if (locator.size()) src_name += "(@" + locator + ")"; cout << src_pool << ":" << src_name << " => " - << target_pool << ":" << target_name << std::endl; + << target_pool << ":" << target_name << std::endl; src_ctx.locator_set_key(locator); src_ctx.set_namespace(nspace);