From: Wei Jin Date: Mon, 4 Apr 2016 15:52:04 +0000 (+0800) Subject: crush: fix error log X-Git-Tag: v10.1.1~2^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F8430%2Fhead;p=ceph.git crush: fix error log Signed-off-by: Wei Jin --- diff --git a/src/crush/CrushWrapper.cc b/src/crush/CrushWrapper.cc index 9fb420281708..5748078d969b 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 {