mirror of
https://github.com/golang/go
synced 2024-11-26 03:07:57 -07:00
os: fix NetBSD build
os.fileStat.Sys is no longer exported. R=golang-dev, m4dh4tt3r, r CC=golang-dev https://golang.org/cl/5696074
This commit is contained in:
parent
2f4e5f79a6
commit
8c7b832ad5
@ -20,7 +20,7 @@ func fileInfoFromStat(st *syscall.Stat_t, name string) FileInfo {
|
||||
name: basename(name),
|
||||
size: int64(st.Size),
|
||||
modTime: timespecToTime(st.Mtim),
|
||||
Sys: st,
|
||||
sys: st,
|
||||
}
|
||||
fs.mode = FileMode(st.Mode & 0777)
|
||||
switch st.Mode & syscall.S_IFMT {
|
||||
|
Loading…
Reference in New Issue
Block a user