From 2b9919965b1fab26ba61cc3f6e2034f6faefcc35 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Sun, 24 Aug 2008 18:20:31 +0000 Subject: [PATCH] Fix a type warning in printf. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Carl-Daniel Hailfinger git-svn-id: svn://coreboot.org/repository/coreboot-v3@819 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- util/lar/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/lar/stream.c b/util/lar/stream.c index f5046c19ff..41ef815c87 100644 --- a/util/lar/stream.c +++ b/util/lar/stream.c @@ -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;