summaryrefslogtreecommitdiff
path: root/src/pkg/os/file.go
diff options
context:
space:
mode:
authorPeter Froehlich <peter.hans.froehlich@gmail.com>2009-12-23 08:49:38 -0800
committerPeter Froehlich <peter.hans.froehlich@gmail.com>2009-12-23 08:49:38 -0800
commit6209e7d17c5a77826f069c781a51c924a748e4a4 (patch)
tree7018e6f8765c893935e25bddaa06137ceddc1707 /src/pkg/os/file.go
parent27b764a1adc72082cd25ebb67893f8a7b1d02529 (diff)
downloadgolang-6209e7d17c5a77826f069c781a51c924a748e4a4.tar.gz
Fix comment for Chmod.
R=r, rsc CC=golang-dev http://codereview.appspot.com/183042 Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/pkg/os/file.go')
-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 87a2925e9..b92384e2c 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)}