tools/env: soften warning about erase block alignment

addon 183923d3e
MMC/SATA have no erase blocks, only blocks. Hence the warning
about erase block alignment might be confusing in such environment.

Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Andreas Fenkart 2016-08-17 23:41:54 +02:00 committed by Tom Rini
parent 490365c38f
commit 4ed6f4318b

2
tools/env/fw_env.c vendored
View File

@ -1295,7 +1295,7 @@ static int check_device_config(int dev)
int fd, rc = 0;
if (DEVOFFSET(dev) % DEVESIZE(dev) != 0) {
fprintf(stderr, "Environment does not start on erase block boundary\n");
fprintf(stderr, "Environment does not start on (erase) block boundary\n");
errno = EINVAL;
return -1;
}