summaryrefslogtreecommitdiffstats
path: root/common/env_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/env_common.c')
-rw-r--r--common/env_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_common.c b/common/env_common.c
index c3946f0a74..77f99441a1 100644
--- a/common/env_common.c
+++ b/common/env_common.c
@@ -241,7 +241,7 @@ void env_relocate (void)
/*
* We must allocate a buffer for the environment
*/
- env_ptr = (env_t *)malloc (CFG_ENV_SIZE);
+ env_ptr = (env_t *)malloc (CONFIG_ENV_SIZE);
DEBUGF ("%s[%d] malloced ENV at %p\n", __FUNCTION__,__LINE__,env_ptr);
#endif
OpenPOWER on IntegriCloud