torrent.go | 2 +- diff --git a/torrent.go b/torrent.go index ac4d1c065c9d0b5c4998b559ba77224d5f120465..d51dbbe7adcadb8bee7da0af354f3239c1a56258 100644 --- a/torrent.go +++ b/torrent.go @@ -637,7 +637,7 @@ missinggo.CopyExact(&ret, hash.Sum(nil)) return } if err != io.ErrUnexpectedEOF && !os.IsNotExist(err) { - log.Printf("unexpected error hashing piece with %T: %s", t.storage, err) + log.Printf("unexpected error hashing piece with %T: %s", t.storage.TorrentImpl, err) } return }