From 81d927fd35765cc844c0aea12e5c7beb44d475e9 Mon Sep 17 00:00:00 2001 From: Tobias Bradtke Date: Sun, 4 Oct 2015 00:50:31 +0200 Subject: [PATCH] Change type Fixes compile error for me --- probe/host/system_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/probe/host/system_linux.go b/probe/host/system_linux.go index 4f7155aac..bc2e77b7b 100644 --- a/probe/host/system_linux.go +++ b/probe/host/system_linux.go @@ -12,7 +12,7 @@ import ( // Uname is swappable for mocking in tests. var Uname = syscall.Uname -func charsToString(ca [65]int8) string { +func charsToString(ca [65]uint8) string { s := make([]byte, len(ca)) var lens int for ; lens < len(ca); lens++ {