diff options
Diffstat (limited to 'libgo/go/os/dir_unix.go')
-rw-r--r-- | libgo/go/os/dir_unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/os/dir_unix.go b/libgo/go/os/dir_unix.go index d353e405e54..589db852740 100644 --- a/libgo/go/os/dir_unix.go +++ b/libgo/go/os/dir_unix.go @@ -36,7 +36,7 @@ func (f *File) readdirnames(n int) (names []string, err error) { if d.bufp >= d.nbuf { d.bufp = 0 var errno error - d.nbuf, errno = syscall.ReadDirent(f.fd, d.buf) + d.nbuf, errno = fixCount(syscall.ReadDirent(f.fd, d.buf)) if errno != nil { return names, NewSyscallError("readdirent", errno) } |