diff options
Diffstat (limited to 'libgo/go/os/sys_linux.go')
-rw-r--r-- | libgo/go/os/sys_linux.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libgo/go/os/sys_linux.go b/libgo/go/os/sys_linux.go index d322a63..76cdf50 100644 --- a/libgo/go/os/sys_linux.go +++ b/libgo/go/os/sys_linux.go @@ -6,8 +6,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 |