1
0
mirror of https://github.com/golang/go synced 2024-11-18 04:14:49 -07:00

syscall: correct parameter name of Setgid on linux

Change parameter name from uid to gid, to fix an obvious copy-paste
error.

Change-Id: Iba13a45c87fde9625b82976a7d7901af4b705230
Reviewed-on: https://go-review.googlesource.com/16474
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Marvin Stenger 2015-10-30 18:16:47 +01:00 committed by Brad Fitzpatrick
parent 70119accdf
commit b41a920792

View File

@ -881,7 +881,7 @@ func Setuid(uid int) (err error) {
return EOPNOTSUPP
}
func Setgid(uid int) (err error) {
func Setgid(gid int) (err error) {
return EOPNOTSUPP
}