mirror of
https://github.com/linuxboot/linuxboot
synced 2024-11-21 07:42:25 +00:00
fix(intel/hw): A typo: log.Fatal -> log.Fatalf
Signed-off-by: Dmitrii Okunev <xaionaro@meta.com>
This commit is contained in:
parent
badd59a0b7
commit
cbacce757d
@ -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[:])
|
||||
|
Loading…
Reference in New Issue
Block a user