diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2004-03-05 16:04:39 +0300 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2004-03-05 16:04:39 +0300 |
commit | fbe984e1c9b039e68e57848e8d2fe843777ef5a6 (patch) | |
tree | 5b51f71e87f2b61ad953877cc1205ce7abf0b8bc /networking/tftp.c | |
parent | c45146cf244fb5dd6c2f6b7b7be696e5a56fa166 (diff) |
Fix debugging output, patch by Hideki IWAMOTO
Diffstat (limited to 'networking/tftp.c')
-rw-r--r-- | networking/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index 92966a253..10aa63bb9 100644 --- a/networking/tftp.c +++ b/networking/tftp.c @@ -294,7 +294,7 @@ static inline int tftp(const int cmd, const struct hostent *host, #ifdef CONFIG_FEATURE_TFTP_DEBUG fprintf(stderr, "sending %u bytes\n", len); for (cp = buf; cp < &buf[len]; cp++) - fprintf(stderr, "%02x ", *cp); + fprintf(stderr, "%02x ", (unsigned char)*cp); fprintf(stderr, "\n"); #endif if (sendto(socketfd, buf, len, 0, |