summaryrefslogtreecommitdiff
path: root/env/ext4.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/ext4.c')
-rw-r--r--env/ext4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/env/ext4.c b/env/ext4.c
index 9947381bfd..6aa36867b6 100644
--- a/env/ext4.c
+++ b/env/ext4.c
@@ -21,6 +21,7 @@
#include <common.h>
#include <command.h>
+#include <env.h>
#include <environment.h>
#include <linux/stddef.h>
#include <malloc.h>
@@ -127,7 +128,7 @@ static int env_ext4_load(void)
return env_import(buf, 1);
err_env_relocate:
- set_default_env(NULL, 0);
+ env_set_default(NULL, 0);
return -EIO;
}