summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)}