]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/env_flash.c
net: fec_mxc: use fec_set_dev_name to set name
[karo-tx-uboot.git] / common / env_flash.c
index aa970d44007a18d2fd8d1a4a26acd3d362bcb626..e07d336a48b9940bc0987255554f68ff27fd52cd 100644 (file)
@@ -142,7 +142,7 @@ int saveenv(void)
                goto done;
 
        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);
                goto done;
@@ -275,7 +275,7 @@ int saveenv(void)
                goto done;
 
        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);
                goto done;