summaryrefslogtreecommitdiff
path: root/common/env_nvram.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/env_nvram.c')
-rw-r--r--common/env_nvram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_nvram.c b/common/env_nvram.c
index 544ce4711e..b108e6e761 100644
--- a/common/env_nvram.c
+++ b/common/env_nvram.c
@@ -94,7 +94,7 @@ int saveenv(void)
int rcode = 0;
res = (char *)&env_new.data;
- len = hexport_r(&env_htab, '\0', &res, ENV_SIZE);
+ len = hexport_r(&env_htab, '\0', &res, ENV_SIZE, 0, NULL);
if (len < 0) {
error("Cannot export environment: errno = %d\n", errno);
return 1;