ifplugd: fix compile error

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2009-10-23 18:31:02 +02:00
parent 50be9631e1
commit 337a31b074

View File

@ -361,7 +361,7 @@ static smallint detect_link_ethtool(void)
set_ifreq_to_ifname(&ifreq);
edata.cmd = ETHTOOL_GLINK;
ifreq.ifr_data = &edata;
ifreq.ifr_data = (void*) &edata;
if (network_ioctl(SIOCETHTOOL, &ifreq) < 0) {
bb_perror_msg("ETHTOOL_GLINK failed");