]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - common/env_eeprom.c
"env grep" - add support for regular expression matches
[karo-tx-uboot.git] / common / env_eeprom.c
index b66bba29f53fd53251abab1dc724e88c26ff15b5..45c935b6df7895844ae9914e01b69ffe6fa2333e 100644 (file)
@@ -139,7 +139,7 @@ int saveenv(void)
        BUG_ON(env_ptr != NULL);
 
        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;