summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2016-03-28 17:26:27 +0800
committerTom Rini <trini@konsulko.com>2016-04-01 17:17:43 -0400
commit9a5d993e657d73820eb3aa0543cee4c3531f5ba1 (patch)
treecc08d77c081d349c30c3a828c98f4dd76c8d6d2a /common
parent1c8fdf8779bed79ea8c0cdbcb2559c2961afaa1d (diff)
downloadu-boot-imx-9a5d993e657d73820eb3aa0543cee4c3531f5ba1.zip
u-boot-imx-9a5d993e657d73820eb3aa0543cee4c3531f5ba1.tar.gz
u-boot-imx-9a5d993e657d73820eb3aa0543cee4c3531f5ba1.tar.bz2
common: env_sf: Add exclamation mark
Add exclamation mark to the errmsg, when error and set_default_env. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Mario Schuknecht <mario.schuknecht@dresearch-fe.de> Cc: Vignesh R <vigneshr@ti.com> Cc: Jagan Teki <jteki@openedev.com> Cc: Ravi Babu <ravibabu@ti.com> Cc: York Sun <york.sun@nxp.com> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r--common/env_sf.c2
1 files changed, 1 insertions, 1 deletions
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: