mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Fix a type warning in printf.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://coreboot.org/repository/coreboot-v3@819 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
7d7e653fce
commit
2b9919965b
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ int lar_add_bootblock(struct lar *lar, const char *bootblock)
|
|||
if (s.st_size != BOOTBLOCK_SIZE) {
|
||||
err("Bootblock %s does not appear to be a bootblock.\n",
|
||||
bootblock);
|
||||
err("It is the wrong size; it should be %d bytes and it is %d bytes\n",
|
||||
err("It is the wrong size; it should be %d bytes and it is %ld bytes\n",
|
||||
BOOTBLOCK_SIZE, s.st_size);
|
||||
close(fd);
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue