aboutsummaryrefslogtreecommitdiff
path: root/networking/traceroute.c
diff options
context:
space:
mode:
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 b6252ad3e..95aa290a1 100644
--- a/networking/traceroute.c
+++ b/networking/traceroute.c
@@ -293,7 +293,7 @@ struct IFADDRLIST {
293static const char route[] = "/proc/net/route"; 293static const char route[] = "/proc/net/route";
294 294
295/* last inbound (icmp) packet */ 295/* last inbound (icmp) packet */
296static u_char packet[512] __attribute__((align (32))); 296static u_char packet[512] __attribute__((aligned (32)));
297 297
298static struct ip *outip; /* last output (udp) packet */ 298static struct ip *outip; /* last output (udp) packet */
299static struct udphdr *outudp; /* last output (udp) packet */ 299static struct udphdr *outudp; /* last output (udp) packet */
@@ -371,7 +371,7 @@ ifaddrlist(struct IFADDRLIST **ipaddrp)
371 if (errno == EINVAL) 371 if (errno == EINVAL)
372 bb_error_msg_and_die( 372 bb_error_msg_and_die(
373 "SIOCGIFCONF: ifreq struct too small (%d bytes)", 373 "SIOCGIFCONF: ifreq struct too small (%d bytes)",
374 sizeof(ibuf)); 374 (int)sizeof(ibuf));
375 else 375 else
376 bb_perror_msg_and_die("SIOCGIFCONF"); 376 bb_perror_msg_and_die("SIOCGIFCONF");
377 } 377 }