diff --git a/storage/mfile.go b/storage/mfile.go index f968039..05a734d 100644 --- a/storage/mfile.go +++ b/storage/mfile.go @@ -243,7 +243,7 @@ func (m *mfileBlock) WriteBlock(_ context.Context, s torus.BlockRef, data []byte olddata := m.dataFile.GetBlock(uint64(v)) if !bytes.Equal(olddata, data) { clog.Error("getting wrong data for block: ", s) - clog.Errorf("%s, %s", olddata[:10], data[:10]) + clog.Errorf("old: %v, new: %v", olddata[:10], data[:10]) return torus.ErrExists } // Not an error, if we already have it