commit | 50bb682c5cc52769e7cbd835a00dbcbc75a4f0e7 | [log] [tgz] |
---|---|---|
author | Harald Seiler <hws@denx.de> | Thu May 28 17:54:45 2020 +0200 |
committer | Tom Rini <trini@konsulko.com> | Tue Jun 02 13:06:14 2020 -0400 |
tree | 944af99afe1442b42cf68a845900994231d3bdd6 | |
parent | 95712afc17bb4141e7f902983fb27e5bbc5aa62f [diff] |
tools: fw_env: Fix warning when reading too little When using CONFIG_ENV_IS_IN_FAT and the config-file specifies a size larger than what U-Boot wrote into the env-file, a confusing error message is shown: $ fw_printenv Read error on /boot/uboot.env: Success Fix this by showing a different error message when read returns too little data. Signed-off-by: Harald Seiler <hws@denx.de>