fix compilation on linux

This commit is contained in:
unclejack 2013-05-20 20:43:09 +03:00
parent 2879ef4642
commit 1b007828c9

View file

@ -6,7 +6,7 @@ import (
type Utsname syscall.Utsname
func uname() (*Utsname, error) {
func uname() (*syscall.Utsname, error) {
uts := &syscall.Utsname{}
if err := syscall.Uname(uts); err != nil {