diff options
Diffstat (limited to 'src/pkg/os/proc.go')
-rw-r--r-- | src/pkg/os/proc.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/os/proc.go b/src/pkg/os/proc.go index dfddab6cb..481ef6033 100644 --- a/src/pkg/os/proc.go +++ b/src/pkg/os/proc.go @@ -26,8 +26,8 @@ func Getegid() int { return syscall.Getegid() } // Getgroups returns a list of the numeric ids of groups that the caller belongs to. func Getgroups() ([]int, Error) { - gids, errno := syscall.Getgroups() - return gids, NewSyscallError("getgroups", errno) + gids, e := syscall.Getgroups() + return gids, NewSyscallError("getgroups", e) } // Exit causes the current program to exit with the given status code. |