From cbacce757d3c61bfbcaaba394bf9772b494a32a8 Mon Sep 17 00:00:00 2001 From: Dmitrii Okunev Date: Wed, 19 Jun 2024 16:08:53 +0100 Subject: [PATCH] fix(intel/hw): A typo: log.Fatal -> log.Fatalf Signed-off-by: Dmitrii Okunev --- mainboards/intel/hw/insert.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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[:])