@@ -840,13 +840,13 @@
go_os_stat_file = go/os/stat_atim.go
else
if LIBGO_IS_DARWIN
-go_os_stat_file = go/os/stat_atimspec.go
+go_os_stat_file = go/os/stat_atimespec.go
else
if LIBGO_IS_FREEBSD
-go_os_stat_file = go/os/stat_atimspec.go
+go_os_stat_file = go/os/stat_atimespec.go
else
if LIBGO_IS_NETBSD
-go_os_stat_file = go/os/stat_atimspec.go
+go_os_stat_file = go/os/stat_atimespec.go
else
go_os_stat_file = go/os/stat.go
endif
@@ -19,7 +19,7 @@
fs := &fileStat{
name: basename(name),
size: int64(st.Size),
- modTime: timespecToTime(st.Mtimspec),
+ modTime: timespecToTime(st.Mtimespec),
sys: st,
}
fs.mode = FileMode(st.Mode & 0777)
@@ -57,5 +57,5 @@
// For testing.
func atime(fi FileInfo) time.Time {
- return timespecToTime(fi.Sys().(*syscall.Stat_t).Atimspec)
+ return timespecToTime(fi.Sys().(*syscall.Stat_t).Atimespec)
}