mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02:00
TFTP: fix search of ':' in BootFile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
committed by
Wolfgang Denk
parent
0bc9efada1
commit
38cc09c55b
@@ -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);
|
||||
|
Reference in New Issue
Block a user