mirror of
https://github.com/docker/docs.git
synced 2026-03-31 08:18:55 +07:00
Merge pull request #652 from unclejack/fix-compilation-on-linux
fix compilation on linux
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