From 8c7b832ad5dc04efc0a5978a67963b521cc1cb18 Mon Sep 17 00:00:00 2001 From: Benny Siegert Date: Tue, 28 Feb 2012 11:26:01 +1100 Subject: [PATCH] os: fix NetBSD build os.fileStat.Sys is no longer exported. R=golang-dev, m4dh4tt3r, r CC=golang-dev https://golang.org/cl/5696074 --- src/pkg/os/stat_netbsd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/os/stat_netbsd.go b/src/pkg/os/stat_netbsd.go index c58a2874c72..00506b2b609 100644 --- a/src/pkg/os/stat_netbsd.go +++ b/src/pkg/os/stat_netbsd.go @@ -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 {