From b41a920792e1fda6c3f5ca666c5e702a06a1bf9c Mon Sep 17 00:00:00 2001
From: Marvin Stenger <marvin.stenger94@gmail.com>
Date: Fri, 30 Oct 2015 18:16:47 +0100
Subject: [PATCH] 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>
---
 src/syscall/syscall_linux.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/syscall/syscall_linux.go b/src/syscall/syscall_linux.go
index 4f88d517e4..5ce00a176e 100644
--- a/src/syscall/syscall_linux.go
+++ b/src/syscall/syscall_linux.go
@@ -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
 }
 
-- 
2.30.9