diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2016-12-17 01:52:50 +0100 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2016-12-17 01:52:50 +0100 |
commit | e36423e8c2140a0a5b679f77be907fe9d4501d4f (patch) | |
tree | 17a53e37d22ecf3f2e7036d7fdbeb5ab7c9d3984 /src/main.c | |
parent | 430930537cf483847419bcfacce00ff3f75b8db8 (diff) | |
download | 0xFFFF-e36423e8c2140a0a5b679f77be907fe9d4501d4f.tar.bz2 |
all: Fix printing fsblkcnt_t and off_t types
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -222,7 +222,7 @@ static void parse_image_arg(char * arg, struct image_list ** image_first) { exit(1); } if ( read(fd, layout, len) != len ) { - ERROR_INFO("Cannot read %lu bytes from layout file %s", len, layout_file); + ERROR_INFO("Cannot read %ju bytes from layout file %s", (intmax_t)len, layout_file); exit(1); } layout[len] = 0; |