summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 3c24820..40f367a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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;