diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-02-14 08:02:12 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-02-14 23:02:52 +0100 |
commit | 38cc09c55b1d7f233789052c6fc462e5377669a9 (patch) | |
tree | eec64d11e545557964989fa449e14f01c6aa8c12 /net/tftp.c | |
parent | 0bc9efada170096c6b273f19165e32936d330d80 (diff) | |
download | u-boot-imx-38cc09c55b1d7f233789052c6fc462e5377669a9.zip u-boot-imx-38cc09c55b1d7f233789052c6fc462e5377669a9.tar.gz u-boot-imx-38cc09c55b1d7f233789052c6fc462e5377669a9.tar.bz2 |
TFTP: fix search of ':' in BootFile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'net/tftp.c')
-rw-r--r-- | net/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |