diff options
Diffstat (limited to 'common/cmd_nvedit.c')
| -rw-r--r-- | common/cmd_nvedit.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index f449715ca..637d6c948 100644 --- a/common/cmd_nvedit.c +++ b/common/cmd_nvedit.c @@ -503,7 +503,7 @@ char *getenv (char *name)  		int val;  		for (nxt=i; env_get_char(nxt) != '\0'; ++nxt) { -			if (nxt >= CFG_ENV_SIZE) { +			if (nxt >= CONFIG_ENV_SIZE) {  				return (NULL);  			}  		} @@ -523,7 +523,7 @@ int getenv_r (char *name, char *buf, unsigned len)  		int val, n;  		for (nxt=i; env_get_char(nxt) != '\0'; ++nxt) { -			if (nxt >= CFG_ENV_SIZE) { +			if (nxt >= CONFIG_ENV_SIZE) {  				return (-1);  			}  		} |