Skip to content

Commit dcd0333

Browse files
committed
FST: Fix clang errors
1 parent 341aee3 commit dcd0333

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fst/storage/Verify.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Storage::Verify()
223223

224224
if (cxError) {
225225
eos_static_err("checksum invalid : path=%s fxid=%s checksum=%s stored-checksum=%s",
226-
verifyfile->path.c_str(), hex_fid.c_str(), computedchecksum,
226+
verifyfile->path.c_str(), hex_fid.c_str(), computedchecksum.c_str(),
227227
fMd->mProtoFmd.checksum().c_str());
228228
fMd->mProtoFmd.set_checksum(computedchecksum);
229229
fMd->mProtoFmd.set_diskchecksum(computedchecksum);
@@ -243,7 +243,7 @@ Storage::Verify()
243243
} else {
244244
eos_static_info("checksum OK : path=%s fxid=%s checksum=%s",
245245
verifyfile->path.c_str(), hex_fid.c_str(),
246-
computedchecksum);
246+
computedchecksum.c_str());
247247

248248
// Reset error flags if needed
249249
if (fMd->mProtoFmd.blockcxerror() || fMd->mProtoFmd.filecxerror()) {

0 commit comments

Comments
 (0)