From: Peng Fan Date: Mon, 28 Mar 2016 09:26:27 +0000 (+0800) Subject: common: env_sf: Add exclamation mark X-Git-Tag: v2016.05-rc1~76 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9a5d993e657d73820eb3aa0543cee4c3531f5ba1;p=oweals%2Fu-boot.git common: env_sf: Add exclamation mark Add exclamation mark to the errmsg, when error and set_default_env. Signed-off-by: Peng Fan Cc: Mario Schuknecht Cc: Vignesh R Cc: Jagan Teki Cc: Ravi Babu Cc: York Sun Cc: Tom Rini Reviewed-by: Tom Rini --- diff --git a/common/env_sf.c b/common/env_sf.c index 892e6cbfb8..273098ceb6 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: