Skip to content
Snippets Groups Projects
Commit 9efac3c8 authored by Maxime Ripard's avatar Maxime Ripard Committed by Tom Rini
Browse files

env: Make the env save message a bit more explicit


Since we'll soon have support for multiple environments, the environment
saving message might end up being printed multiple times if the higher
priority environment cannot be used.

That might confuse the user, so let's make it explicit if the operation
failed or not.

Reviewed-by: default avatarAndre Przywara <andre.przywara@arm.com>
Reviewed-by: default avatarLukasz Majewski <lukma@denx.de>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 8a3a7e22
No related branches found
No related tags found
No related merge requests found
......@@ -168,8 +168,9 @@ int env_save(void)
if (!drv->save)
continue;
printf("Saving Environment to %s...\n", drv->name);
printf("Saving Environment to %s... ", drv->name);
ret = drv->save();
printf("%s\n", ret ? "Failed" : "OK");
if (!ret)
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment