src/pkg/os/file_unix.go | 2 +- src/pkg/os/file_windows.go | 2 +- diff --git a/src/pkg/os/file_unix.go b/src/pkg/os/file_unix.go index 5d53770532682a70c8ff4325769caa5e549dcd87..9bd75bce01aa0412c8aefcc7f41d7ecc21a962a4 100644 --- a/src/pkg/os/file_unix.go +++ b/src/pkg/os/file_unix.go @@ -70,7 +70,7 @@ } // 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 cb2ac987cf84f78fb0b9ce816fb4b18a72ede5fa..e26c138c383372b2853924d64160ac2a79aefb67 100644 --- a/src/pkg/os/file_windows.go +++ b/src/pkg/os/file_windows.go @@ -110,7 +110,7 @@ } // 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.