]> git.sur5r.net Git - u-boot/blobdiff - net/tftp.c
Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flash
[u-boot] / net / tftp.c
index 3dd2b06aae16a79e7b94f72bc4e6ef7cc4dbb74d..ea8fea2f7e842a43a76a91a436d76c72968a5181 100644 (file)
@@ -474,7 +474,7 @@ TftpStart (void)
                printf ("*** Warning: no boot file name; using '%s'\n",
                        tftp_filename);
        } else {
-               char *p = strchr (p, ':');
+               char *p = strchr (BootFile, ':');
 
                if (p == NULL) {
                        strncpy(tftp_filename, BootFile, MAX_LEN);