From: David Symonds Date: Tue, 22 Jul 2014 00:09:32 +0000 (+1000) Subject: syscall: fix typo in namei doc comment. X-Git-Tag: go1.4beta1~1036 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d9079cc88346ea08ca65166447184513f0566d98;p=gostls13.git syscall: fix typo in namei doc comment. LGTM=dave R=rsc, dave CC=golang-codereviews https://golang.org/cl/112420044 --- diff --git a/src/pkg/syscall/fs_nacl.go b/src/pkg/syscall/fs_nacl.go index 657bc9d245..4abc9b81c9 100644 --- a/src/pkg/syscall/fs_nacl.go +++ b/src/pkg/syscall/fs_nacl.go @@ -186,7 +186,7 @@ func skipelem(path string) (elem, rest string) { // namei translates a file system path name into an inode. // If parent is false, the returned ip corresponds to the given name, and elem is the empty string. -// If parent is false, the walk stops at the next-to-last element in the name, +// If parent is true, the walk stops at the next-to-last element in the name, // so that ip is the parent directory and elem is the final element in the path. func (fs *fsys) namei(path string, parent bool) (ip *inode, elem string, err error) { // Reject NUL in name.