diff --git a/internal/restic/lock.go b/internal/restic/lock.go index 2da3667a3..d500c019a 100644 --- a/internal/restic/lock.go +++ b/internal/restic/lock.go @@ -222,7 +222,7 @@ var StaleLockTimeout = 30 * time.Minute func (l *Lock) Stale() bool { l.lock.Lock() defer l.lock.Unlock() - debug.Log("testing if lock %v for process %d is stale", l, l.PID) + debug.Log("testing if lock %v for process %d is stale", l.lockID, l.PID) if time.Since(l.Time) > StaleLockTimeout { debug.Log("lock is stale, timestamp is too old: %v\n", l.Time) return true