[git commit master] ifplugd: fix compile error
Denys Vlasenko
vda.linux at googlemail.com
Fri Oct 23 16:31:02 UTC 2009
commit: http://git.busybox.net/busybox/commit/?id=337a31b0741f5e9ba32bedd750ab99bb253085dc
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
networking/ifplugd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/networking/ifplugd.c b/networking/ifplugd.c
index 8abecb9..43f26c6 100644
--- a/networking/ifplugd.c
+++ b/networking/ifplugd.c
@@ -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");
--
1.6.3.3
More information about the busybox-cvs
mailing list