aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Froehlich <peter.hans.froehlich@gmail.com>2009-12-23 08:49:38 -0800
committerRuss Cox <rsc@golang.org>2009-12-23 08:49:38 -0800
commit3f25c8a2ef3f9e9c55132ff770ae54efd289a21d (patch)
treee9ef4884c302d6855e463a31f9e1e8f200fd1b5e
parent617a6a519f2fa8f930d4552865d1e828dc883b8e (diff)
downloadgo-3f25c8a2ef3f9e9c55132ff770ae54efd289a21d.tar.gz
go-3f25c8a2ef3f9e9c55132ff770ae54efd289a21d.zip
Fix comment for Chmod.
R=r, rsc CC=golang-dev https://golang.org/cl/183042
-rw-r--r--src/pkg/os/file.go2
1 files changed, 1 insertions, 1 deletions
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)}