[U-Boot] [PATCH] common: env_sf: Add exclamation mark

Peng Fan van.freenix at gmail.com
Mon Mar 28 11:26:27 CEST 2016


Add exclamation mark to the errmsg, when error and set_default_env.

Signed-off-by: Peng Fan <van.freenix at gmail.com>
Cc: Mario Schuknecht <mario.schuknecht at dresearch-fe.de>
Cc: Vignesh R <vigneshr at ti.com>
Cc: Jagan Teki <jteki at openedev.com>
Cc: Ravi Babu <ravibabu at ti.com>
Cc: York Sun <york.sun at nxp.com>
Cc: Tom Rini <trini at konsulko.com>
---
 common/env_sf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/env_sf.c b/common/env_sf.c
index 892e6cb..273098c 100644
--- a/common/env_sf.c
+++ b/common/env_sf.c
@@ -225,7 +225,7 @@ void env_relocate_spec(void)
 	ret = env_import((char *)ep, 0);
 	if (!ret) {
 		error("Cannot import environment: errno = %d\n", errno);
-		set_default_env("env_import failed");
+		set_default_env("!env_import failed");
 	}
 
 err_read:
-- 
2.6.2



More information about the U-Boot mailing list