aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/ifplugd.c4
-rw-r--r--networking/tc.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/networking/ifplugd.c b/networking/ifplugd.c
index 3315e9a4d..c9f603f2c 100644
--- a/networking/ifplugd.c
+++ b/networking/ifplugd.c
@@ -258,7 +258,7 @@ static void up_iface(void)
if (network_ioctl(SIOCGIFADDR, &ifrequest) < 0) {
bb_error_msg("can't get interface address");
} else if (ifrequest.ifr_addr.sa_family != AF_INET) {
- bb_perror_msg("The interface is not IP-based");
+ bb_perror_msg("the interface is not IP-based");
} else {
((struct sockaddr_in*)(&ifrequest.ifr_addr))->sin_addr.s_addr = INADDR_ANY;
if (network_ioctl(SIOCSIFADDR, &ifrequest) < 0)
@@ -299,7 +299,7 @@ static void maybe_up_new_iface(void)
(uint8_t)(ifrequest.ifr_hwaddr.sa_data[5]));
}
- bb_error_msg("Using interface %s%s with driver<%s> (version: %s)",
+ bb_error_msg("using interface %s%s with driver<%s> (version: %s)",
G.iface, buf, driver_info.driver, driver_info.version);
}
#endif
diff --git a/networking/tc.c b/networking/tc.c
index 03f57f637..79cdd7c55 100644
--- a/networking/tc.c
+++ b/networking/tc.c
@@ -284,12 +284,12 @@ static int print_qdisc(const struct sockaddr_nl *who UNUSED_PARAM,
char *name;
if (hdr->nlmsg_type != RTM_NEWQDISC && hdr->nlmsg_type != RTM_DELQDISC) {
- /* bb_error_msg("Not a qdisc"); */
+ /* bb_error_msg("not a qdisc"); */
return 0; /* ??? mimic upstream; should perhaps return -1 */
}
len -= NLMSG_LENGTH(sizeof(*msg));
if (len < 0) {
- /* bb_error_msg("Wrong len %d", len); */
+ /* bb_error_msg("wrong len %d", len); */
return -1;
}
/* not the desired interface? */
@@ -342,12 +342,12 @@ static int print_class(const struct sockaddr_nl *who UNUSED_PARAM,
/*XXX Eventually factor out common code */
if (hdr->nlmsg_type != RTM_NEWTCLASS && hdr->nlmsg_type != RTM_DELTCLASS) {
- /* bb_error_msg("Not a class"); */
+ /* bb_error_msg("not a class"); */
return 0; /* ??? mimic upstream; should perhaps return -1 */
}
len -= NLMSG_LENGTH(sizeof(*msg));
if (len < 0) {
- /* bb_error_msg("Wrong len %d", len); */
+ /* bb_error_msg("wrong len %d", len); */
return -1;
}
/* not the desired interface? */