diff options
Diffstat (limited to 'libgo/go/os/proc.go')
-rw-r--r-- | libgo/go/os/proc.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/os/proc.go b/libgo/go/os/proc.go index dfddab6cb8f..481ef603371 100644 --- a/libgo/go/os/proc.go +++ b/libgo/go/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. |