]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/env_nvram.c
lcd: remove unaligned access in lcd_dt_simplefb_configure_node()
[karo-tx-uboot.git] / common / env_nvram.c
index 6483db39d3388fc672985d0fde867ade43b55b5a..eab0e7be0ecb90bc11f842dbe521e3df3c60f9dc 100644 (file)
@@ -90,7 +90,7 @@ int saveenv(void)
        int     rcode = 0;
 
        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;