diff --git a/pkg/vars/boot.go b/pkg/vars/boot.go index 40ec624..f986d2b 100644 --- a/pkg/vars/boot.go +++ b/pkg/vars/boot.go @@ -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{' '})