change DirInfo->dirInfo now that 6g export bug is fixed

R=rsc
DELTA=4  (0 added, 0 deleted, 4 changed)
OCL=24788
CL=24805
This commit is contained in:
Rob Pike 2009-02-10 16:44:04 -08:00
parent 6017895659
commit 0c4010a747
3 changed files with 4 additions and 4 deletions

View file

@ -27,7 +27,7 @@ func clen(n []byte) int {
func Readdirnames(fd *FD, count int) (names []string, err *os.Error) {
// If this fd has no dirinfo, create one.
if fd.dirinfo == nil {
fd.dirinfo = new(DirInfo);
fd.dirinfo = new(dirInfo);
// The buffer must be at least a block long.
// TODO(r): use fstatfs to find fs block size.
fd.dirinfo.buf = make([]byte, blockSize);