aboutsummaryrefslogtreecommitdiff
path: root/networking/ifupdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ifupdown.c')
-rw-r--r--networking/ifupdown.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index 5327b0979..60ceb5a1f 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -665,7 +665,7 @@ static int FAST_FUNC dhcp_up(struct interface_defn_t *ifd, execfn *exec)
665 if (executable_exists(ext_dhcp_clients[i].name)) 665 if (executable_exists(ext_dhcp_clients[i].name))
666 return execute(ext_dhcp_clients[i].startcmd, ifd, exec); 666 return execute(ext_dhcp_clients[i].startcmd, ifd, exec);
667 } 667 }
668 bb_error_msg("no dhcp clients found"); 668 bb_simple_error_msg("no dhcp clients found");
669 return 0; 669 return 0;
670} 670}
671# elif ENABLE_UDHCPC 671# elif ENABLE_UDHCPC
@@ -707,7 +707,7 @@ static int FAST_FUNC dhcp_down(struct interface_defn_t *ifd, execfn *exec)
707 } 707 }
708 708
709 if (!result) 709 if (!result)
710 bb_error_msg("warning: no dhcp clients found and stopped"); 710 bb_simple_error_msg("warning: no dhcp clients found and stopped");
711 711
712 /* Sleep a bit, otherwise static_down tries to bring down interface too soon, 712 /* Sleep a bit, otherwise static_down tries to bring down interface too soon,
713 and it may come back up because udhcpc is still shutting down */ 713 and it may come back up because udhcpc is still shutting down */