aboutsummaryrefslogtreecommitdiff
path: root/env/nvram.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/nvram.c')
-rw-r--r--env/nvram.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/env/nvram.c b/env/nvram.c
index c8b3475..6f76fe4 100644
--- a/env/nvram.c
+++ b/env/nvram.c
@@ -60,9 +60,7 @@ static int env_nvram_load(void)
#else
memcpy(buf, (void *)CONFIG_ENV_ADDR, CONFIG_ENV_SIZE);
#endif
- env_import(buf, 1);
-
- return 0;
+ return env_import(buf, 1);
}
static int env_nvram_save(void)