Skip to content

Commit

Permalink
Add missing space in error messages
Browse files Browse the repository at this point in the history
Add the missing space in messages such as:
"offset (...) must be amultiple of ... bytes"

Signed-off-by: Jonas Rebmann <[email protected]>
  • Loading branch information
Jonas Rebmann committed Jan 23, 2025
1 parent 8431450 commit d4fc250
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion image-flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static int flash_setup(struct image *image, cfg_t *cfg)
return -EINVAL;
}
if (part->offset % image->flash_type->pebsize) {
image_error(image, "part %s offset (%lld) must be a"
image_error(image, "part %s offset (%lld) must be a "
"multiple of erase block size (%i bytes)\n",
part->name, part->offset, image->flash_type->pebsize);
return -EINVAL;
Expand Down
2 changes: 1 addition & 1 deletion image-hd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ static int hdimage_setup(struct image *image, cfg_t *cfg)
}

if (part->offset % part->align) {
image_error(image, "part %s offset (%lld) must be a"
image_error(image, "part %s offset (%lld) must be a "
"multiple of %lld bytes\n",
part->name, part->offset, part->align);
return -EINVAL;
Expand Down

0 comments on commit d4fc250

Please sign in to comment.