diff --git a/src/cmds/restic/integration_helpers_unix_test.go b/src/cmds/restic/integration_helpers_unix_test.go index 6b2757106..5220f4db6 100644 --- a/src/cmds/restic/integration_helpers_unix_test.go +++ b/src/cmds/restic/integration_helpers_unix_test.go @@ -47,5 +47,5 @@ func (e *dirEntry) equals(other *dirEntry) bool { func nlink(info os.FileInfo) (uint64) { stat, _ := info.Sys().(*syscall.Stat_t) - return stat.nlink + return stat.Nlink }