commit | 79685b28512f999a68000f6f862481547f0a8a9f | [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 | 3fabf862e93710a561f19a97fa4319c7e2bcd7d1 [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>