]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - api/api.c
rename CFG_ENV macros to CONFIG_ENV
[karo-tx-uboot.git] / api / api.c
index 19c71540c0387f46dc480989404ed6394ee7b9cb..f51ebb7b1384d316230117fe2a9ce8404d75f6c0 100644 (file)
--- a/api/api.c
+++ b/api/api.c
@@ -534,7 +534,7 @@ static int API_env_enum(va_list ap)
 
                for (i = 0; env_get_char(i) != '\0'; i = n + 1) {
                        for (n = i; env_get_char(n) != '\0'; ++n) {
-                               if (n >= CFG_ENV_SIZE) {
+                               if (n >= CONFIG_ENV_SIZE) {
                                        /* XXX shouldn't we set *next = NULL?? */
                                        return 0;
                                }