diff options
Diffstat (limited to 'networking/traceroute.c')
-rw-r--r-- | networking/traceroute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/traceroute.c b/networking/traceroute.c index c0b4a3fd2..e9df27559 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c | |||
@@ -413,7 +413,7 @@ ifaddrlist(struct IFADDRLIST **ipaddrp) | |||
413 | ifc.ifc_buf = (caddr_t)ibuf; | 413 | ifc.ifc_buf = (caddr_t)ibuf; |
414 | 414 | ||
415 | if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 | 415 | if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 |
416 | || ifc.ifc_len < sizeof(struct ifreq) | 416 | || ifc.ifc_len < (int)sizeof(struct ifreq) |
417 | ) { | 417 | ) { |
418 | if (errno == EINVAL) | 418 | if (errno == EINVAL) |
419 | bb_error_msg_and_die( | 419 | bb_error_msg_and_die( |