1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-16 00:00:05 +01:00

Nlink() -> Nlink

This commit is contained in:
jgfrm 2017-02-06 20:15:39 +01:00
parent 06af86a42a
commit e0f1ce6336

View file

@ -38,7 +38,7 @@ func (e *dirEntry) equals(other *dirEntry) bool {
return false
}
if stat.Nlink() != stat2.Nlink() {
if stat.Nlink != stat2.Nlink {
fmt.Fprintf(os.Stderr, "%v: Number of links doe not match (%v != %v)\n", e.path, stat.nlink(), stat2.nlink())
return false
}