diff options
author | Lucas Stach <dev@lynxeye.de> | 2016-03-02 21:50:36 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-03-04 07:54:58 +0100 |
commit | 3969140abd560c77fda424a7adfb454f89cd9996 (patch) | |
tree | c93334c24fe689576ac81a0a2984dd05dcb4f553 /common/bbu.c | |
parent | cd0966b813755b237869636265268b9fa5e9fd5b (diff) | |
download | barebox-3969140abd560c77fda424a7adfb454f89cd9996.tar.gz |
bbu: use correct printf format specifier for size_t
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/bbu.c')
-rw-r--r-- | common/bbu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/bbu.c b/common/bbu.c index 4d71fa4a87..fc821934c6 100644 --- a/common/bbu.c +++ b/common/bbu.c @@ -187,7 +187,7 @@ static int bbu_std_file_handler(struct bbu_handler *handler, oflags |= O_CREAT; } else { if (!S_ISREG(s.st_mode) && s.st_size < data->len) { - printf("Image (%lld) is too big for device (%d)\n", + printf("Image (%lld) is too big for device (%zd)\n", s.st_size, data->len); } } |