Skip to content
Commit 50bb682c authored by Harald Seiler's avatar Harald Seiler Committed by Tom Rini
Browse files

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: default avatarHarald Seiler <hws@denx.de>
parent 95712afc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment