Stefan Reinauer (stefan.reinauer@coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13655
-gerrit
commit 7bcb43ae85c0e9852d1e4fc3f1f5bf1d25f96dd1 Author: Stefan Reinauer stefan.reinauer@coreboot.org Date: Tue Feb 9 18:10:08 2016 -0800
bimgtool: Fix printf warning for off_t
off_t wants to be printed with %zd, not %d.
Change-Id: I3f6e1988bb306f4a7738f1f3ccb2093518e4ceb3 Signed-off-by: Stefan Reinauer stefan.reinauer@coreboot.org --- util/bimgtool/bimgtool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/bimgtool/bimgtool.c b/util/bimgtool/bimgtool.c index 13ded54..518674c 100644 --- a/util/bimgtool/bimgtool.c +++ b/util/bimgtool/bimgtool.c @@ -269,7 +269,7 @@ static int verify_file(FILE *f)
if ((file_header.data_size + sizeof(struct bimg_header)) > buf.st_size) { - fprintf(stderr, "Data size too big: %d > %d\n", + fprintf(stderr, "Data size too big: %d > %zd\n", file_header.data_size, buf.st_size); return -1; }