From a6c7ad2f65afaa717ba19cbf9d8d138b5f10ccf9 Mon Sep 17 00:00:00 2001 From: wdenk Date: Tue, 3 Dec 2002 21:28:10 +0000 Subject: * Fix startup problems with VFD display on TRAB * Patch by Pierre Aubert, 20 Nov 2002 Add driver for Epson SED13806 graphic controller. Add support for BMP logos in cfb_console driver. --- tools/mkimage.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools/mkimage.c') diff --git a/tools/mkimage.c b/tools/mkimage.c index 0f99f3b..095880e 100644 --- a/tools/mkimage.c +++ b/tools/mkimage.c @@ -250,8 +250,9 @@ NXTARG: ; */ if (xflag) { if (ep != addr + sizeof(image_header_t)) { - fprintf (stderr, "%s: For XIP, the entry point must be the load addr + %d\n", - cmdname, sizeof(image_header_t)); + fprintf (stderr, "%s: For XIP, the entry point must be the load addr + %lu\n", + cmdname, + (unsigned long)sizeof(image_header_t)); exit (EXIT_FAILURE); } } -- cgit v1.1