summaryrefslogtreecommitdiff
path: root/tools/fit_image.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-07-14 20:10:34 -0400
committerTom Rini <trini@konsulko.com>2021-07-14 20:10:34 -0400
commitc11f5abce84f630c92304683d5bde3204c5612c4 (patch)
tree29f4a7db27669fac1ea7b7eb8821b5440b09af0d /tools/fit_image.c
parenteae8c7c33829c3bd25a792600c1fe6ed842a1ddc (diff)
parent963fde31559f50ceb4f5965f00d79f8747a9d217 (diff)
Merge branch '2021-07-14-build-and-host-updates'
- Resync Kbuild with the v4.20 Linux Kernel release - Update checkpatch.pl - Assorted other tooling updates
Diffstat (limited to 'tools/fit_image.c')
-rw-r--r--tools/fit_image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/fit_image.c b/tools/fit_image.c
index ae30f807834..f4f372ba62f 100644
--- a/tools/fit_image.c
+++ b/tools/fit_image.c
@@ -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);
}