aboutsummaryrefslogtreecommitdiff
path: root/networking/ifplugd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ifplugd.c')
-rw-r--r--networking/ifplugd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ifplugd.c b/networking/ifplugd.c
index 0d17b7d8c..18dcaff96 100644
--- a/networking/ifplugd.c
+++ b/networking/ifplugd.c
@@ -304,7 +304,7 @@ static const char api_modes[] ALIGN1 = "empwia";
304static const struct { 304static const struct {
305 const char *name; 305 const char *name;
306 smallint (*func)(void); 306 smallint (*func)(void);
307} method_table[] = { 307} method_table[] ALIGN_PTR = {
308 { "SIOCETHTOOL" , &detect_link_ethtool }, 308 { "SIOCETHTOOL" , &detect_link_ethtool },
309 { "SIOCGMIIPHY" , &detect_link_mii }, 309 { "SIOCGMIIPHY" , &detect_link_mii },
310 { "SIOCDEVPRIVATE" , &detect_link_priv }, 310 { "SIOCDEVPRIVATE" , &detect_link_priv },
@@ -735,7 +735,7 @@ int ifplugd_main(int argc UNUSED_PARAM, char **argv)
735 delay_time += G.delay_down; 735 delay_time += G.delay_down;
736#if 0 /* if you are back in 1970... */ 736#if 0 /* if you are back in 1970... */
737 if (delay_time == 0) { 737 if (delay_time == 0) {
738 sleep(1); 738 sleep1();
739 delay_time = 1; 739 delay_time = 1;
740 } 740 }
741#endif 741#endif