From d9079cc88346ea08ca65166447184513f0566d98 Mon Sep 17 00:00:00 2001 From: David Symonds Date: Tue, 22 Jul 2014 10:09:32 +1000 Subject: [PATCH] syscall: fix typo in namei doc comment. LGTM=dave R=rsc, dave CC=golang-codereviews https://golang.org/cl/112420044 --- src/pkg/syscall/fs_nacl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.48.1