fix: go vet

This commit is contained in:
Mikaël Cluseau 2018-07-06 19:25:00 +11:00
parent 4f24cf947f
commit 13d7109cb4

View File

@ -14,7 +14,7 @@ func BootArgs() [][]byte {
ba, err := ioutil.ReadFile("/proc/cmdline")
if err != nil {
// should not happen
panic(fmt.Errorf("failed to read /proc/cmdline: ", err))
panic(fmt.Errorf("failed to read /proc/cmdline: %v", err))
}
return bytes.Split(ba, []byte{' '})