]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - api/api.c
env: Rename setenv() to env_set()
[people/ms/u-boot.git] / api / api.c
index 4fae95d2801db2d1d7e304559630500949d405db..6ae9af74b5741cfb1a6d0ee350de67029bd79cf3 100644 (file)
--- a/api/api.c
+++ b/api/api.c
@@ -481,7 +481,7 @@ static int API_env_set(va_list ap)
        if ((value = (char *)va_arg(ap, uintptr_t)) == NULL)
                return API_EINVAL;
 
-       setenv(name, value);
+       env_set(name, value);
 
        return 0;
 }