Fix comment for Chmod.

R=r, rsc
CC=golang-dev
https://golang.org/cl/183042
This commit is contained in:
Peter Froehlich 2009-12-23 08:49:38 -08:00 committed by Russ Cox
parent 617a6a519f
commit 3f25c8a2ef
1 changed files with 1 additions and 1 deletions

View 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)}