diff options
author | Denis Vlasenko | 2009-04-29 12:02:57 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-04-29 12:02:57 +0000 |
commit | 1fd3b38fd19057e7b048e08d6157ece06874feb1 (patch) | |
tree | e0730c5ad066166e9d642be9a7247bcba0d75cc6 /networking | |
parent | 052ad9a56883a56742cec1afc6c1c8dfff222495 (diff) | |
download | busybox-1fd3b38fd19057e7b048e08d6157ece06874feb1.zip busybox-1fd3b38fd19057e7b048e08d6157ece06874feb1.tar.gz |
*: bb_error_msg's messages should not be capitalized
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ifplugd.c | 4 | ||||
-rw-r--r-- | networking/tc.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/networking/ifplugd.c b/networking/ifplugd.c index 3315e9a..c9f603f 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 03f57f6..79cdd7c 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? */ |