From 28465358b00e9b2853d43b7b793d76167315aa12 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Sat, 6 Sep 2014 02:35:30 +0200 Subject: [PATCH] Small, cosmetic changes in header print output in mkimage --- u-boot/tools/mkimage.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/u-boot/tools/mkimage.c b/u-boot/tools/mkimage.c index 9d15a50..4ecda49 100755 --- a/u-boot/tools/mkimage.c +++ b/u-boot/tools/mkimage.c @@ -619,13 +619,13 @@ print_header (image_header_t *hdr) timestamp = (time_t)ntohl(hdr->ih_time); size = ntohl(hdr->ih_size); - printf ("Image Name: %.*s\n", IH_NMLEN, hdr->ih_name); - printf ("Created: %s", ctime(×tamp)); - printf ("Image Type: "); print_type(hdr); - printf ("Data Size: %d Bytes = %.2f kB = %.2f MB\n", + printf (" Image Name: %.*s\n", IH_NMLEN, hdr->ih_name); + printf (" Created: %s", ctime(×tamp)); + printf (" Image Type: "); print_type(hdr); + printf (" Data Size: %d Bytes = %.2f kB = %.2f MB\n", size, (double)size / 1.024e3, (double)size / 1.048576e6 ); - printf ("Load Address: 0x%08X\n", ntohl(hdr->ih_load)); - printf ("Entry Point: 0x%08X\n", ntohl(hdr->ih_ep)); + printf (" Load Address: 0x%08X\n", ntohl(hdr->ih_load)); + printf (" Entry Point: 0x%08X\n", ntohl(hdr->ih_ep)); if (hdr->ih_type == IH_TYPE_MULTI || hdr->ih_type == IH_TYPE_SCRIPT) { int i, ptrs; -- 2.25.1