summaryrefslogtreecommitdiff
path: root/networking/traceroute.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-06-27 00:20:38 +0000
committerDenis Vlasenko2007-06-27 00:20:38 +0000
commitc965f4b14194ade82c9f30807fa948d6545e55d6 (patch)
tree2bf74f412ceab11ffffb49817254cb9dbf5b774c /networking/traceroute.c
parente8240f19bd99802e0ccb1738b2d2e630b6eb9087 (diff)
downloadbusybox-c965f4b14194ade82c9f30807fa948d6545e55d6.zip
busybox-c965f4b14194ade82c9f30807fa948d6545e55d6.tar.gz
devfsd: style cleanup; size reduction (Tito <farmatito@tiscali.it>)
traceroute: suppress warning
Diffstat (limited to 'networking/traceroute.c')
-rw-r--r--networking/traceroute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/traceroute.c b/networking/traceroute.c
index 577738a..ad3ec4e 100644
--- a/networking/traceroute.c
+++ b/networking/traceroute.c
@@ -397,8 +397,8 @@ ifaddrlist(struct IFADDRLIST **ipaddrp)
) {
if (errno == EINVAL)
bb_error_msg_and_die(
- "SIOCGIFCONF: ifreq struct too small (%d bytes)",
- IFREQ_BUFSIZE * sizeof(ibuf[0]));
+ "SIOCGIFCONF: ifreq struct too small (%u bytes)",
+ (unsigned)(IFREQ_BUFSIZE * sizeof(ibuf[0])));
bb_perror_msg_and_die("SIOCGIFCONF");
}
ifrp = ibuf;