mirror of
https://github.com/golang/go
synced 2024-11-22 00:54:43 -07:00
os/stat_freebsd.go: maybe fix build for freebsd
R=rsc CC=golang-dev https://golang.org/cl/970042
This commit is contained in:
parent
05427748ef
commit
6e80a01ab7
@ -18,7 +18,7 @@ func fileInfoFromStat(name string, fi *FileInfo, lstat, stat *syscall.Stat_t) *F
|
||||
fi.Uid = int(stat.Uid)
|
||||
fi.Gid = int(stat.Gid)
|
||||
fi.Rdev = uint64(stat.Rdev)
|
||||
fi.Size = uint64(stat.Size)
|
||||
fi.Size = int64(stat.Size)
|
||||
fi.Blksize = int64(stat.Blksize)
|
||||
fi.Blocks = stat.Blocks
|
||||
fi.Atime_ns = syscall.TimespecToNsec(stat.Atimespec)
|
||||
|
Loading…
Reference in New Issue
Block a user