From: Peter Froehlich Date: Wed, 23 Dec 2009 16:49:38 +0000 (-0800) Subject: Fix comment for Chmod. X-Git-Tag: weekly.2010-01-05~48 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3f25c8a2ef3f9e9c55132ff770ae54efd289a21d;p=gostls13.git Fix comment for Chmod. R=r, rsc CC=golang-dev https://golang.org/cl/183042 --- diff --git a/src/pkg/os/file.go b/src/pkg/os/file.go index 87a2925e97..b92384e2c2 100644 --- a/src/pkg/os/file.go +++ b/src/pkg/os/file.go @@ -428,7 +428,7 @@ func Rename(oldname, newname string) Error { } // Chmod changes the mode of the named file to mode. -// If the file is a symbolic link, it changes the uid and gid of the link's target. +// If the file is a symbolic link, it changes the mode of the link's target. func Chmod(name string, mode int) Error { if e := syscall.Chmod(name, mode); e != 0 { return &PathError{"chmod", name, Errno(e)}