mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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
|
type Utsname syscall.Utsname
|
||||||
|
|
||||||
func uname() (*Utsname, error) {
|
func uname() (*syscall.Utsname, error) {
|
||||||
uts := &syscall.Utsname{}
|
uts := &syscall.Utsname{}
|
||||||
|
|
||||||
if err := syscall.Uname(uts); err != nil {
|
if err := syscall.Uname(uts); err != nil {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue