summaryrefslogtreecommitdiffstats
path: root/common/env_fat.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/env_fat.c')
-rw-r--r--common/env_fat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_fat.c b/common/env_fat.c
index 6ef531821e..c0f18ab97d 100644
--- a/common/env_fat.c
+++ b/common/env_fat.c
@@ -61,7 +61,7 @@ int saveenv(void)
int err;
res = (char *)&env_new.data;
- len = hexport_r(&env_htab, '\0', &res, ENV_SIZE, 0, NULL);
+ len = hexport_r(&env_htab, '\0', 0, &res, ENV_SIZE, 0, NULL);
if (len < 0) {
error("Cannot export environment: errno = %d\n", errno);
return 1;
OpenPOWER on IntegriCloud