diff options
Diffstat (limited to 'scripts/socfpga_mkimage.c')
-rw-r--r-- | scripts/socfpga_mkimage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/socfpga_mkimage.c b/scripts/socfpga_mkimage.c index bab1b1abce..1a7a66d988 100644 --- a/scripts/socfpga_mkimage.c +++ b/scripts/socfpga_mkimage.c @@ -234,8 +234,8 @@ int main(int argc, char *argv[]) } if (s.st_size > max_image_size) { - fprintf(stderr, "input image too big. Maximum is %d bytes\n", - MAX_IMAGE_SIZE); + fprintf(stderr, "input image too big. Maximum is %d bytes, got %ld bytes\n", + max_image_size, s.st_size); exit(1); } |