all: Fix printing fsblkcnt_t and off_t types
This commit is contained in:
1 parent
430930537c
commit
e36423e8c2
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user