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:
parent
490365c38f
commit
4ed6f4318b
2
tools/env/fw_env.c
vendored
2
tools/env/fw_env.c
vendored
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user