]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
tools/fitimage: add missing linebreak for some messages
authorSven Roederer <devel-sven@geroedel.de>
Tue, 25 May 2021 21:15:27 +0000 (23:15 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 14 Jul 2021 20:57:35 +0000 (16:57 -0400)
Add a linebreak to two messages and fix punctuation.

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
tools/fit_image.c

index ae30f807834927819e50a364cf615549825cc2ba..f4f372ba62f99586e1db68a56f67a929d1ab5907 100644 (file)
@@ -524,7 +524,7 @@ static int fit_extract_data(struct image_tool_params *params, const char *fname)
        /* Check if an offset for the external data was set. */
        if (params->external_offset > 0) {
                if (params->external_offset < new_size) {
-                       debug("External offset %x overlaps FIT length %x",
+                       debug("External offset %x overlaps FIT length %x\n",
                              params->external_offset, new_size);
                        ret = -EINVAL;
                        goto err;
@@ -737,7 +737,7 @@ static int fit_handle_file(struct image_tool_params *params)
        if (strlen (params->imagefile) +
                strlen (MKIMAGE_TMPFILE_SUFFIX) + 1 > sizeof (tmpfile)) {
                fprintf (stderr, "%s: Image file name (%s) too long, "
-                               "can't create tmpfile",
+                               "can't create tmpfile.\n",
                                params->imagefile, params->cmdname);
                return (EXIT_FAILURE);
        }