1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-07 17:49:17 +01:00
Files
u-boot-megous/tools/env/fw_env.c
Harald Seiler 50bb682c5c 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>
2020-06-02 13:06:14 -04:00

39 KiB