]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cli_hush.c
env: Rename setenv() to env_set()
[people/ms/u-boot.git] / common / cli_hush.c
index 00861e2d9e4b56c114a4dcae71fdbb0f89a996aa..280289639c041ccd512dc0857d0ea44a52020f3c 100644 (file)
@@ -2265,7 +2265,7 @@ void unset_local_var(const char *name)
                        } else {
 #ifndef __U_BOOT__
                                if(cur->flg_export)
-                                       unsetenv(cur->name);
+                                       unenv_set(cur->name);
 #endif
                                free(cur->name);
                                free(cur->value);