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:
Carl-Daniel Hailfinger 2008-08-24 18:20:31 +00:00
parent 7d7e653fce
commit 2b9919965b

View file

@ -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;