]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/env_onenand.c
board/cogent/flash.c: Fix GCC 4.6 buiild warning
[karo-tx-uboot.git] / common / env_onenand.c
index 02cb5354f182bceb933aed745ae768eed1e33118..5e04a06cf537c1faef56b1613ff66d6488d174b3 100644 (file)
@@ -109,7 +109,7 @@ int saveenv(void)
        };
 
        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;