]> git.sur5r.net Git - u-boot/commitdiff
common: env_sf: Add exclamation mark
authorPeng Fan <van.freenix@gmail.com>
Mon, 28 Mar 2016 09:26:27 +0000 (17:26 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2016 21:17:43 +0000 (17:17 -0400)
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>
common/env_sf.c

index 892e6cbfb8bef3d54f956d60f788e1affbfa260c..273098ceb605a6b2059dadc44d45f37c392b2c68 100644 (file)
@@ -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: