diff options
author | Mylène Josserand | 2020-07-08 11:52:50 +0200 |
---|---|---|
committer | Tom Rini | 2020-07-17 10:47:19 -0400 |
commit | dd85dc55eb147cdcced1a4ee143b487d4aa6afa6 (patch) | |
tree | 2682df53acb19a923be986ecf38d4bc54f23f541 /lib/strto.c | |
parent | 5c6a4d5a2779d7c2611319076d9aa4a23981855f (diff) |
mkimage: Fix error message if write less data then expected
Add a new error message in case the size of data written
are shorter than the one expected.
Currently, it will lead to the following error message:
"mkimage: Write error on uImage: Success"
This is not explicit when the error is because the device
doesn't have enough space. Let's use a more understandable message:
"mkimage: Write only 4202432/4682240 bytes, probably no space left on the device"
Signed-off-by: Mylène Josserand <mylene.josserand@collabora.com>
Reviewed-by: Walter Lozano <walter.lozano@collabora.com>
Diffstat (limited to 'lib/strto.c')
0 files changed, 0 insertions, 0 deletions