]> git.sur5r.net Git - u-boot/blobdiff - net/bootp.c
env: Rename setenv() to env_set()
[u-boot] / net / bootp.c
index be8f710e0c5ca9bb0a2a884891932966c86d21c6..579515687b7567e0e2069ff316ac60129f0da846 100644 (file)
@@ -170,7 +170,7 @@ static void store_net_params(struct bootp_hdr *bp)
         * not contain a new value
         */
        if (*net_boot_file_name)
-               setenv("bootfile", net_boot_file_name);
+               env_set("bootfile", net_boot_file_name);
 #endif
        net_copy_ip(&net_ip, &bp->bp_yiaddr);
 }