Commit 870c91ae authored by Rob Pike's avatar Rob Pike

fix typo breaking linux build

R=rsc
OCL=27304
CL=27304
parent f9854978
......@@ -59,7 +59,7 @@ func readdirnames(file *File, count int) (names []string, err *os.Error) {
if dirent.Ino == 0 { // File absent in directory.
continue
}
var name = string(dirent.Name[0:clen(dirent.Namlen)]);
var name = string(dirent.Name[0:clen(dirent.Name)]);
if name == "." || name == ".." { // Useless names
continue
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment