internal/archiver: Missing argument to errors.Errorf

This commit is contained in:
greatroar 2022-10-14 14:18:52 +02:00
parent 09c14f33c8
commit 16849d5361
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ func (arch *Archiver) Save(ctx context.Context, snPath, target string, previous
// make sure it's still a file
if !fs.IsRegularFile(fi) {
err = errors.Errorf("file %v changed type, refusing to archive")
err = errors.Errorf("file %v changed type, refusing to archive", fi.Name())
_ = file.Close()
err = arch.error(abstarget, err)
if err != nil {