summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorGerlando Falauto <gerlando.falauto@keymile.com>2012-08-24 00:11:40 +0000
committerTom Rini <trini@ti.com>2012-09-18 12:01:52 -0700
commit152874b65b8060e7b026933ce332a9687256e28c (patch)
tree7b52fcce948031ab356eb3d480f3eea6cd4bf301 /common
parentc5983592e912835fe9ed00b9d98b05580c460eae (diff)
downloadu-boot-imx-152874b65b8060e7b026933ce332a9687256e28c.zip
u-boot-imx-152874b65b8060e7b026933ce332a9687256e28c.tar.gz
u-boot-imx-152874b65b8060e7b026933ce332a9687256e28c.tar.bz2
env: check and apply changes on delete/destroy
Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_nvedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index ddf3b8d..310ca16 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -359,7 +359,7 @@ int _do_env_set(int flag, int argc, char * const argv[])
/* Delete only ? */
if (argc < 3 || argv[2] == NULL) {
- int rc = hdelete_r(name, &env_htab);
+ int rc = hdelete_r(name, &env_htab, 0);
return !rc;
}