diff --git a/hostinfo/hostinfo_linux.go b/hostinfo/hostinfo_linux.go index 90ceece90..a659490b9 100644 --- a/hostinfo/hostinfo_linux.go +++ b/hostinfo/hostinfo_linux.go @@ -13,7 +13,6 @@ "io/ioutil" "os" "strings" - "syscall" "tailscale.com/util/lineread" "tailscale.com/version/distro" @@ -68,8 +67,8 @@ func osVersionLinux() string { return nil }) - var un syscall.Utsname - syscall.Uname(&un) + var un unix.Utsname + unix.Uname(&un) var attrBuf strings.Builder attrBuf.WriteString("; kernel=")