From: Willem Jan Withagen Date: Tue, 7 Aug 2018 14:57:00 +0000 (+0200) Subject: OSD: translate the error result X-Git-Tag: v14.0.1~636^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F23473%2Fhead;p=ceph.git OSD: translate the error result Signed-off-by: Willem Jan Withagen --- diff --git a/src/os/filestore/FileJournal.cc b/src/os/filestore/FileJournal.cc index aaa707ad617c..5a2d6c72f1c1 100644 --- a/src/os/filestore/FileJournal.cc +++ b/src/os/filestore/FileJournal.cc @@ -1901,7 +1901,7 @@ void FileJournal::wrap_read_bl( int r = safe_read_exact(fd, bp.c_str(), len); if (r) { derr << "FileJournal::wrap_read_bl: safe_read_exact " << pos << "~" << len << " returned " - << r << dendl; + << cpp_strerror(r) << dendl; ceph_abort(); } bl->push_back(std::move(bp));