devfsd: style cleanup; size reduction (Tito <farmatito@tiscali.it>)

traceroute: suppress warning
This commit is contained in:
Denis Vlasenko
2007-06-27 00:20:38 +00:00
parent e8240f19bd
commit c965f4b141
2 changed files with 48 additions and 135 deletions

View File

@ -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;