diff options
Diffstat (limited to 'libgo/go/os/sys_linux.go')
-rw-r--r-- | libgo/go/os/sys_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/os/sys_linux.go b/libgo/go/os/sys_linux.go index 2accd6c1f0d..d322a63c2d1 100644 --- a/libgo/go/os/sys_linux.go +++ b/libgo/go/os/sys_linux.go @@ -7,7 +7,7 @@ package os // Hostname returns the host name reported by the kernel. -func Hostname() (name string, err Error) { +func Hostname() (name string, err error) { f, err := Open("/proc/sys/kernel/hostname") if err != nil { return "", err |