From: Glenn L McGrath Date: Fri, 5 Mar 2004 13:04:39 +0000 (-0000) Subject: Fix debugging output, patch by Hideki IWAMOTO X-Git-Tag: 1_00_pre9~92 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fbe984e1c9b039e68e57848e8d2fe843777ef5a6;p=oweals%2Fbusybox.git Fix debugging output, patch by Hideki IWAMOTO --- 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,