]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/env_sf.c
common/cmd_universe.c: Fix GCC 4.6 build warning
[karo-tx-uboot.git] / common / env_sf.c
index d3b36d01053586b3f8bb155b3eade8460efecc1b..a1ff297ba7e2568b795af35ce6cd653468cf79f3 100644 (file)
@@ -91,7 +91,7 @@ int saveenv(void)
        }
 
        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;
@@ -293,7 +293,7 @@ int saveenv(void)
        }
 
        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);
                goto done;