diff --git a/mainboards/intel/hw/insert.go b/mainboards/intel/hw/insert.go index 2a4fab4..308896d 100644 --- a/mainboards/intel/hw/insert.go +++ b/mainboards/intel/hw/insert.go @@ -42,10 +42,10 @@ func main() { log.Fatalf("Size of %q (%d) > allowed size (%d)", initramfs, len(ramfs), sz) } if off > uint64(len(img)) { - log.Fatal("Off (%d) is > image size (%d)", off, len(img)) + log.Fatalf("Off (%d) is > image size (%d)", off, len(img)) } if off+sz > uint64(len(img)) { - log.Fatal("Off (%d) is > image size (%d)", off, len(img)) + log.Fatalf("Off (%d) is > image size (%d)", off, len(img)) } copy(img[off:], ramfs[:])