projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
env: Move get/set_default_env() to env.h
[oweals/u-boot.git]
/
cmd
/
nvedit.c
diff --git
a/cmd/nvedit.c
b/cmd/nvedit.c
index d1178f6033f2954afeb8ae9f9dcfbda8e4028966..acbe85b8e4c48c2af8ad390c328a4fb88d12607b 100644
(file)
--- a/
cmd/nvedit.c
+++ b/
cmd/nvedit.c
@@
-814,7
+814,7
@@
static int do_env_default(cmd_tbl_t *cmdtp, int flag,
debug("Final value for argc=%d\n", argc);
if (all && (argc == 0)) {
/* Reset the whole environment */
-
set_default_env
("## Resetting to default environment\n",
+
env_set_default
("## Resetting to default environment\n",
env_flag);
return 0;
}