From 7bd4772dffdef29c7f39435e02ef2451ba06a77b Mon Sep 17 00:00:00 2001
From: Eric Cano <Eric.Cano@cern.ch>
Date: Thu, 1 Mar 2018 13:56:37 +0100
Subject: [PATCH] Fixed inaccurate log message.

---
 tapeserver/castor/tape/tapeserver/file/DiskFile.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tapeserver/castor/tape/tapeserver/file/DiskFile.cpp b/tapeserver/castor/tape/tapeserver/file/DiskFile.cpp
index 2b58b23b5d..1417dd0780 100644
--- a/tapeserver/castor/tape/tapeserver/file/DiskFile.cpp
+++ b/tapeserver/castor/tape/tapeserver/file/DiskFile.cpp
@@ -491,7 +491,7 @@ void XrootBaseWriteFile::close()  {
   if (m_closeTried) return;
   m_closeTried=true;
   XrootClEx::throwOnError(m_xrootFile.Close(m_timeout),
-    std::string("In XrootWriteFile::close failed XrdCl::File::Stat() on ")+m_URL);
+    std::string("In XrootWriteFile::close failed XrdCl::File::Close() on ")+m_URL);
 }
 
 XrootBaseWriteFile::~XrootBaseWriteFile() throw() {
-- 
GitLab