*: bb_error_msg's messages should not be capitalized

This commit is contained in:
Denis Vlasenko
2009-04-29 12:02:57 +00:00
parent 052ad9a568
commit 1fd3b38fd1
4 changed files with 12 additions and 12 deletions

View File

@@ -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? */