summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c
index af26d4c..a3808f5 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -421,7 +421,7 @@ static inline int tftp(const int cmd, const struct hostent *host,
#ifdef CONFIG_FEATURE_TFTP_DEBUG
printf("using blksize %u\n", blksize);
#endif
- tftp_bufsize = foo + 4;
+ tftp_bufsize = blksize + 4;
block_nr = 0;
continue;
}