From 16ebb25f7cdb8e92c618a333c505c16edb16c95c Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Thu, 19 Sep 2013 16:04:16 -0700 Subject: [PATCH] mon: fix wrong arg to "instructed to" status message Fixes: #6293 Signed-off-by: Dan Mick --- src/mon/OSDMonitor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 36fe6d345f2a..9643b33e34b7 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -2154,7 +2154,7 @@ bool OSDMonitor::preprocess_command(MMonCommand *m) osdmap.get_inst(i)); } r = 0; - ss << " instructed to " << whostr; + ss << " instructed to " << pvec.back(); } else { long osd = parse_osd_id(whostr.c_str(), &ss); if (osd < 0) { -- 2.47.3