Commit 3f25c8a2 authored by Peter Froehlich's avatar Peter Froehlich Committed by Russ Cox

Fix comment for Chmod.

R=r, rsc
CC=golang-dev
https://golang.org/cl/183042
parent 617a6a51
......@@ -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)}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment