Commit b41a9207 authored by Marvin Stenger's avatar Marvin Stenger Committed by Brad Fitzpatrick

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/16474Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 70119acc
...@@ -881,7 +881,7 @@ func Setuid(uid int) (err error) { ...@@ -881,7 +881,7 @@ func Setuid(uid int) (err error) {
return EOPNOTSUPP return EOPNOTSUPP
} }
func Setgid(uid int) (err error) { func Setgid(gid int) (err error) {
return EOPNOTSUPP return EOPNOTSUPP
} }
......
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