diff options
author | Gerlando Falauto <gerlando.falauto@keymile.com> | 2012-08-24 00:11:40 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-09-18 12:01:52 -0700 |
commit | 152874b65b8060e7b026933ce332a9687256e28c (patch) | |
tree | 7b52fcce948031ab356eb3d480f3eea6cd4bf301 /common/cmd_nvedit.c | |
parent | c5983592e912835fe9ed00b9d98b05580c460eae (diff) |
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/cmd_nvedit.c')
-rw-r--r-- | common/cmd_nvedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index ddf3b8dfe4f..310ca16ae30 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; } |