From 9a5312a5deda352e39bc3202d122264db2d1952f Mon Sep 17 00:00:00 2001 From: jgfrm Date: Mon, 6 Feb 2017 18:25:28 +0100 Subject: [PATCH] changed invocation of nlink() --- src/cmds/restic/integration_helpers_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cmds/restic/integration_helpers_test.go b/src/cmds/restic/integration_helpers_test.go index 6274129ca..5bc66c0fa 100644 --- a/src/cmds/restic/integration_helpers_test.go +++ b/src/cmds/restic/integration_helpers_test.go @@ -10,7 +10,6 @@ import ( "restic/repository" . "restic/test" - "restic" ) type dirEntry struct { @@ -38,7 +37,7 @@ func walkDir(dir string) <-chan *dirEntry { ch <- &dirEntry{ path: name, fi: info, - link: nlink(), + link: nlink(info), } return nil