commit | 38cc09c55b1d7f233789052c6fc462e5377669a9 | [log] [tgz] |
---|---|---|
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | Thu Feb 14 08:02:12 2008 +0100 |
committer | Wolfgang Denk <wd@denx.de> | Thu Feb 14 23:02:52 2008 +0100 |
tree | eec64d11e545557964989fa449e14f01c6aa8c12 | |
parent | 0bc9efada170096c6b273f19165e32936d330d80 [diff] [blame] |
TFTP: fix search of ':' in BootFile Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
diff --git a/net/tftp.c b/net/tftp.c index 3dd2b06..ea8fea2 100644 --- a/net/tftp.c +++ b/net/tftp.c
@@ -474,7 +474,7 @@ 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);