]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/env_dataflash.c
hashtable: drop all non-reentrant versions
[karo-tx-uboot.git] / common / env_dataflash.c
index 270f2b3272766e8a3117155071b20dfe5de77813..1d570790277b2393e24ec4a7591beb4ca984bc71 100644 (file)
@@ -68,7 +68,7 @@ int saveenv(void)
        char    *res;
 
        res = (char *)&env_new.data;
-       len = hexport('\0', &res, ENV_SIZE);
+       len = hexport_r(&env_htab, '\0', &res, ENV_SIZE);
        if (len < 0) {
                error("Cannot export environment: errno = %d\n", errno);
                return 1;