From dd167cf117dad670740384cc027faa63f9d478d7 Mon Sep 17 00:00:00 2001 From: Wei Jin Date: Mon, 4 Apr 2016 23:52:04 +0800 Subject: [PATCH] crush: fix error log Signed-off-by: Wei Jin --- src/crush/CrushWrapper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crush/CrushWrapper.cc b/src/crush/CrushWrapper.cc index 9fb4202817088..5748078d969b6 100644 --- a/src/crush/CrushWrapper.cc +++ b/src/crush/CrushWrapper.cc @@ -116,7 +116,7 @@ int CrushWrapper::can_rename_item(const string& srcname, if (is_valid_crush_name(dstname)) { return 0; } else { - *ss << "srcname = '" << srcname << "' does not match [-_.0-9a-zA-Z]+"; + *ss << "dstname = '" << dstname << "' does not match [-_.0-9a-zA-Z]+"; return -EINVAL; } } else { -- 2.39.5