diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2016-02-09 18:10:08 -0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-02-12 04:47:37 +0100 |
commit | 0544b31a4986ab286dd3a2c27907a76eee81078d (patch) | |
tree | d4db1b8e74fc99fa9848559c08425bb84e861cae /util | |
parent | f0d0d918681c944f09a2363a1241c741aa3b25ff (diff) |
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>
Reviewed-on: https://review.coreboot.org/13655
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util')
-rw-r--r-- | util/bimgtool/bimgtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/bimgtool/bimgtool.c b/util/bimgtool/bimgtool.c index 13ded54654..518674cf64 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; } |