aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/ifplugd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifplugd.c b/networking/ifplugd.c
index 8abecb90a..43f26c6df 100644
--- a/networking/ifplugd.c
+++ b/networking/ifplugd.c
@@ -361,7 +361,7 @@ static smallint detect_link_ethtool(void)
361 set_ifreq_to_ifname(&ifreq); 361 set_ifreq_to_ifname(&ifreq);
362 362
363 edata.cmd = ETHTOOL_GLINK; 363 edata.cmd = ETHTOOL_GLINK;
364 ifreq.ifr_data = &edata; 364 ifreq.ifr_data = (void*) &edata;
365 365
366 if (network_ioctl(SIOCETHTOOL, &ifreq) < 0) { 366 if (network_ioctl(SIOCETHTOOL, &ifreq) < 0) {
367 bb_perror_msg("ETHTOOL_GLINK failed"); 367 bb_perror_msg("ETHTOOL_GLINK failed");