9
0
Fork 0

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>
This commit is contained in:
Lucas Stach 2016-03-02 21:50:36 +01:00 committed by Sascha Hauer
parent cd0966b813
commit 3969140abd
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}