[coreboot] r819 - coreboot-v3/util/lar
svn at coreboot.org
svn at coreboot.org
Sun Aug 24 20:20:31 CEST 2008
Author: hailfinger
Date: 2008-08-24 20:20:31 +0200 (Sun, 24 Aug 2008)
New Revision: 819
Modified:
coreboot-v3/util/lar/stream.c
Log:
Fix a type warning in printf.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Modified: coreboot-v3/util/lar/stream.c
===================================================================
--- coreboot-v3/util/lar/stream.c 2008-08-24 18:19:40 UTC (rev 818)
+++ coreboot-v3/util/lar/stream.c 2008-08-24 18:20:31 UTC (rev 819)
@@ -309,7 +309,7 @@
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;
More information about the coreboot
mailing list