]> git.sur5r.net Git - u-boot/blobdiff - net/eth.c
net: cosmetic: Fixup var names related to boot file
[u-boot] / net / eth.c
index c1d6b04f07110f3cef5e2a83c2ded779e23a992f..f06fdb27439ce2903ca9fb4f25c74b7d9aea7d69 100644 (file)
--- a/net/eth.c
+++ b/net/eth.c
@@ -66,7 +66,8 @@ static void eth_env_init(void)
 
        s = getenv("bootfile");
        if (s != NULL)
-               copy_filename(BootFile, s, sizeof(BootFile));
+               copy_filename(net_boot_file_name, s,
+                             sizeof(net_boot_file_name));
 }
 
 static int eth_mac_skip(int index)