fix compilation on linux
This commit is contained in:
parent
2879ef4642
commit
1b007828c9
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue