From 4ed6f4318be9fff2df344ba7ac678736c4b6f3d6 Mon Sep 17 00:00:00 2001 From: Andreas Fenkart Date: Wed, 17 Aug 2016 23:41:54 +0200 Subject: 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 Reviewed-by: Tom Rini --- tools/env/fw_env.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index 7cc7488..d27f57e 100644 --- a/tools/env/fw_env.c +++ b/tools/env/fw_env.c @@ -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; } -- cgit v1.1