summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorGlenn L McGrath2002-12-09 21:05:40 +0000
committerGlenn L McGrath2002-12-09 21:05:40 +0000
commitfad90db8879d102f5c613d1954c6f9a7c8db92b0 (patch)
tree9489bf3b849b4742f03e49152c5fd222ecbc0bf0 /networking
parentfdbbb048933389c5a2624aa77aa5af2dbea75b01 (diff)
downloadbusybox-fad90db8879d102f5c613d1954c6f9a7c8db92b0.zip
busybox-fad90db8879d102f5c613d1954c6f9a7c8db92b0.tar.gz
Fix a debug message, from Bastian Blank
Diffstat (limited to 'networking')
-rw-r--r--networking/tftp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/tftp.c b/networking/tftp.c
index 1e1105b..af26d4c 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -407,9 +407,9 @@ static inline int tftp(const int cmd, const struct hostent *host,
"blksize");
if (res) {
- int foo = atoi(res);
+ int blksize = atoi(res);
- if (tftp_blocksize_check(foo,
+ if (tftp_blocksize_check(blksize,
tftp_bufsize - 4)) {
if (cmd_put) {
@@ -419,7 +419,7 @@ static inline int tftp(const int cmd, const struct hostent *host,
opcode = TFTP_ACK;
}
#ifdef CONFIG_FEATURE_TFTP_DEBUG
- printf("using blksize %u\n");
+ printf("using blksize %u\n", blksize);
#endif
tftp_bufsize = foo + 4;
block_nr = 0;