projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename CFG_ENV macros to CONFIG_ENV
[platform/kernel/u-boot.git]
/
api
/
api.c
diff --git
a/api/api.c
b/api/api.c
index
19c7154
..
f51ebb7
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) {
for (i = 0; env_get_char(i) != '\0'; i = n + 1) {
for (n = i; env_get_char(n) != '\0'; ++n) {
- if (n >= C
F
G_ENV_SIZE) {
+ if (n >= C
ONFI
G_ENV_SIZE) {
/* XXX shouldn't we set *next = NULL?? */
return 0;
}
/* XXX shouldn't we set *next = NULL?? */
return 0;
}