aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/ifplugd.c2
-rw-r--r--networking/libiproute/ipaddress.c2
-rw-r--r--networking/libiproute/iproute.c4
-rw-r--r--networking/udhcp/dhcpd.c4
4 files changed, 6 insertions, 6 deletions
diff --git a/networking/ifplugd.c b/networking/ifplugd.c
index 62b135524..3567dea03 100644
--- a/networking/ifplugd.c
+++ b/networking/ifplugd.c
@@ -486,7 +486,7 @@ static smallint detect_link(void)
if (status == IFSTATUS_ERR
&& G.detect_link_func == detect_link_auto
) {
- bb_error_msg("failed to detect link status");
+ bb_error_msg("can't detect link status");
}
if (status != G.iface_last_status) {
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c
index af29dd301..daea9dd03 100644
--- a/networking/libiproute/ipaddress.c
+++ b/networking/libiproute/ipaddress.c
@@ -194,7 +194,7 @@ static NOINLINE int print_linkinfo(const struct nlmsghdr *n)
static int flush_update(void)
{
if (rtnl_send(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) {
- bb_perror_msg("failed to send flush request");
+ bb_perror_msg("can't send flush request");
return -1;
}
G_filter.flushp = 0;
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c
index 68e3c36a0..d771a609b 100644
--- a/networking/libiproute/iproute.c
+++ b/networking/libiproute/iproute.c
@@ -51,7 +51,7 @@ typedef struct filter_t filter_t;
static int flush_update(void)
{
if (rtnl_send(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) {
- bb_perror_msg("failed to send flush request");
+ bb_perror_msg("can't send flush request");
return -1;
}
G_filter.flushp = 0;
@@ -846,7 +846,7 @@ static int iproute_get(char **argv)
tb[RTA_PREFSRC]->rta_type = RTA_SRC;
r->rtm_src_len = 8*RTA_PAYLOAD(tb[RTA_PREFSRC]);
} else if (!tb[RTA_SRC]) {
- bb_error_msg_and_die("failed to connect the route");
+ bb_error_msg_and_die("can't connect the route");
}
if (!odev && tb[RTA_OIF]) {
tb[RTA_OIF]->rta_type = 0;
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c
index 93e06b237..795ac4841 100644
--- a/networking/udhcp/dhcpd.c
+++ b/networking/udhcp/dhcpd.c
@@ -389,13 +389,13 @@ int udhcpd_main(int argc UNUSED_PARAM, char **argv)
switch (udhcp_sp_read(&rfds)) {
case SIGUSR1:
- bb_info_msg("Received a SIGUSR1");
+ bb_info_msg("Received SIGUSR1");
write_leases();
/* why not just reset the timeout, eh */
timeout_end = monotonic_sec() + server_config.auto_time;
continue;
case SIGTERM:
- bb_info_msg("Received a SIGTERM");
+ bb_info_msg("Received SIGTERM");
goto ret0;
case 0: /* no signal: read a packet */
break;