aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/os/proc.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/os/proc.go')
-rw-r--r--libgo/go/os/proc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/os/proc.go b/libgo/go/os/proc.go
index dfe388f..d21f849 100644
--- a/libgo/go/os/proc.go
+++ b/libgo/go/os/proc.go
@@ -24,7 +24,7 @@ func Getgid() int { return syscall.Getgid() }
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) {
+func Getgroups() ([]int, error) {
gids, e := syscall.Getgroups()
return gids, NewSyscallError("getgroups", e)
}