summaryrefslogtreecommitdiff
path: root/common/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/update.c')
-rw-r--r--common/update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/update.c b/common/update.c
index a19f136..5b1a064 100644
--- a/common/update.c
+++ b/common/update.c
@@ -86,7 +86,7 @@ static int update_load(char *filename, ulong msec_max, int cnt_max, ulong addr)
/* download the update file */
load_addr = addr;
copy_filename(BootFile, filename, sizeof(BootFile));
- size = NetLoop(TFTP);
+ size = NetLoop(TFTPGET);
if (size < 0)
rv = 1;