aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-10-23 18:31:02 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-10-23 18:31:02 +0200
commit337a31b0741f5e9ba32bedd750ab99bb253085dc (patch)
tree9b652c85de7f269e07148b05af6a693318d12405
parent50be9631e147208c1cb3ef94a99173687e434d66 (diff)
downloadbusybox-w32-337a31b0741f5e9ba32bedd750ab99bb253085dc.tar.gz
busybox-w32-337a31b0741f5e9ba32bedd750ab99bb253085dc.tar.bz2
busybox-w32-337a31b0741f5e9ba32bedd750ab99bb253085dc.zip
ifplugd: fix compile error
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-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");