]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cmd/reiser.c
env: Rename common functions related to setenv()
[people/ms/u-boot.git] / cmd / reiser.c
index cbdad36da074e818a80d15f1de1926781d3906db..4df9c5f5db119e1f696b9f26e145b11d35197116 100644 (file)
@@ -18,7 +18,7 @@
 #include <reiserfs.h>
 #include <part.h>
 
-#ifndef CONFIG_DOS_PARTITION
+#if !CONFIG_IS_ENABLED(DOS_PARTITION)
 #error DOS partition support must be selected
 #endif
 
@@ -157,7 +157,7 @@ int do_reiserload (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
        load_addr = addr;
 
        printf ("\n%ld bytes read\n", filelen);
-       setenv_hex("filesize", filelen);
+       env_set_hex("filesize", filelen);
 
        return filelen;
 }