fix compilation on linux
Upstream-commit: 1b007828c93bc472af3306b8da1d72a84b484f12 Component: engine
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user