mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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:
parent
70119accdf
commit
b41a920792
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue