]> Cypherpunks repositories - gostls13.git/commitdiff
Fix comment for Chmod.
authorPeter Froehlich <peter.hans.froehlich@gmail.com>
Wed, 23 Dec 2009 16:49:38 +0000 (08:49 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 23 Dec 2009 16:49:38 +0000 (08:49 -0800)
R=r, rsc
CC=golang-dev
https://golang.org/cl/183042

src/pkg/os/file.go

index 87a2925e9705f069b22f387281d1a41850ef8fd6..b92384e2c2d259bd360d0009293bda35fee92e76 100644 (file)
@@ -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)}