diff --git a/tapeserver/castor/tape/tapeserver/file/CpioFileHeaderStructure.cpp b/tapeserver/castor/tape/tapeserver/file/CpioFileHeaderStructure.cpp
index 2b04c0f288bc45f96cfa104b01a899020d157cde..3b9be6b085334c3601d35a11e50dbb6296635278 100644
--- a/tapeserver/castor/tape/tapeserver/file/CpioFileHeaderStructure.cpp
+++ b/tapeserver/castor/tape/tapeserver/file/CpioFileHeaderStructure.cpp
@@ -48,7 +48,7 @@ size_t castor::tape::tapeFile::CPIO::decode(const uint8_t* puiData, const size_t
       &m_uiNlink, &m_uiRdev, reinterpret_cast<uint64_t*>(&m_ulMtime),
       &m_uiNameSize, &m_ui64FileSize, &m_strFid[0]);
   } else {
-    strFormat << "%06c%06o%06o%06o%06o%06o%06o%06o%011lo%06oH%010lX%" <<  CPIO::PATHLEN - 1 << "s";
+    strFormat << "%06c%06o%06o%06o%06o%06o%06o%06o%11lo%06o%011lo%" <<  CPIO::PATHLEN - 1 << "s";
     sscanf(reinterpret_cast<const char*>(puiData), strFormat.str().c_str(),
       &m_strMagic[0], &m_uiDev, &m_uiIno, &m_uiMode, &m_uiUid, &m_uiGid,
       &m_uiNlink, &m_uiRdev, reinterpret_cast<uint64_t*>(&m_ulMtime),