summaryrefslogtreecommitdiff
path: root/src/pkg/os/stat_freebsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/os/stat_freebsd.go')
-rw-r--r--src/pkg/os/stat_freebsd.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/os/stat_freebsd.go b/src/pkg/os/stat_freebsd.go
index 6ba84f438..2ffb60fe2 100644
--- a/src/pkg/os/stat_freebsd.go
+++ b/src/pkg/os/stat_freebsd.go
@@ -9,9 +9,9 @@ import (
"time"
)
-func sameFile(sys1, sys2 interface{}) bool {
- stat1 := sys1.(*syscall.Stat_t)
- stat2 := sys2.(*syscall.Stat_t)
+func sameFile(fs1, fs2 *fileStat) bool {
+ stat1 := fs1.sys.(*syscall.Stat_t)
+ stat2 := fs2.sys.(*syscall.Stat_t)
return stat1.Dev == stat2.Dev && stat1.Ino == stat2.Ino
}