]> git.sur5r.net Git - u-boot/blobdiff - api/api.c
env: Rename getenv/_f() to env_get()
[u-boot] / api / api.c
index 23fa1774c3c33ea7845bf24749b6659048ab3a9c..7eee2fc083affa349f393b529c917dd7ea5b76e7 100644 (file)
--- a/api/api.c
+++ b/api/api.c
@@ -458,7 +458,7 @@ static int API_env_get(va_list ap)
        if ((value = (char **)va_arg(ap, uintptr_t)) == NULL)
                return API_EINVAL;
 
-       *value = getenv(name);
+       *value = env_get(name);
 
        return 0;
 }