aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-09-15 15:38:16 -0700
committerRobert Griesemer <gri@golang.org>2010-09-15 15:38:16 -0700
commit304d72be8c2375ff5be2e796669dcf102d825dc0 (patch)
tree391f060c7e99df98b3a9dbc891c06ecb2f5f7ed4
parent108f5c913c74304f89ffcc6b12536c465d9fb42d (diff)
downloadgo-304d72be8c2375ff5be2e796669dcf102d825dc0.tar.gz
go-304d72be8c2375ff5be2e796669dcf102d825dc0.zip
os: error in documentation
R=r CC=golang-dev https://golang.org/cl/2225041
-rw-r--r--src/pkg/os/file_unix.go2
-rw-r--r--src/pkg/os/file_windows.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/os/file_unix.go b/src/pkg/os/file_unix.go
index 5d53770532..9bd75bce01 100644
--- a/src/pkg/os/file_unix.go
+++ b/src/pkg/os/file_unix.go
@@ -70,7 +70,7 @@ func (file *File) Stat() (fi *FileInfo, err Error) {
// Readdir reads the contents of the directory associated with file and
// returns an array of up to count FileInfo structures, as would be returned
-// by Stat, in directory order. Subsequent calls on the same file will yield
+// by Lstat, in directory order. Subsequent calls on the same file will yield
// further FileInfos.
// A negative count means to read until EOF.
// Readdir returns the array and an Error, if any.
diff --git a/src/pkg/os/file_windows.go b/src/pkg/os/file_windows.go
index cb2ac987cf..e26c138c38 100644
--- a/src/pkg/os/file_windows.go
+++ b/src/pkg/os/file_windows.go
@@ -110,7 +110,7 @@ func (file *File) Stat() (fi *FileInfo, err Error) {
// Readdir reads the contents of the directory associated with file and
// returns an array of up to count FileInfo structures, as would be returned
-// by Stat, in directory order. Subsequent calls on the same file will yield
+// by Lstat, in directory order. Subsequent calls on the same file will yield
// further FileInfos.
// A negative count means to read until EOF.
// Readdir returns the array and an Error, if any.