fix: go vet
This commit is contained in:
parent
4f24cf947f
commit
13d7109cb4
@ -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{' '})
|
||||
|
Loading…
Reference in New Issue
Block a user