aboutsummaryrefslogtreecommitdiff
path: root/networking/tc.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-29 12:02:57 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-29 12:02:57 +0000
commit1fd3b38fd19057e7b048e08d6157ece06874feb1 (patch)
treee0730c5ad066166e9d642be9a7247bcba0d75cc6 /networking/tc.c
parent052ad9a56883a56742cec1afc6c1c8dfff222495 (diff)
downloadbusybox-w32-1fd3b38fd19057e7b048e08d6157ece06874feb1.tar.gz
busybox-w32-1fd3b38fd19057e7b048e08d6157ece06874feb1.tar.bz2
busybox-w32-1fd3b38fd19057e7b048e08d6157ece06874feb1.zip
*: bb_error_msg's messages should not be capitalized
Diffstat (limited to 'networking/tc.c')
-rw-r--r--networking/tc.c8
1 files changed, 4 insertions, 4 deletions
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,
284 char *name; 284 char *name;
285 285
286 if (hdr->nlmsg_type != RTM_NEWQDISC && hdr->nlmsg_type != RTM_DELQDISC) { 286 if (hdr->nlmsg_type != RTM_NEWQDISC && hdr->nlmsg_type != RTM_DELQDISC) {
287 /* bb_error_msg("Not a qdisc"); */ 287 /* bb_error_msg("not a qdisc"); */
288 return 0; /* ??? mimic upstream; should perhaps return -1 */ 288 return 0; /* ??? mimic upstream; should perhaps return -1 */
289 } 289 }
290 len -= NLMSG_LENGTH(sizeof(*msg)); 290 len -= NLMSG_LENGTH(sizeof(*msg));
291 if (len < 0) { 291 if (len < 0) {
292 /* bb_error_msg("Wrong len %d", len); */ 292 /* bb_error_msg("wrong len %d", len); */
293 return -1; 293 return -1;
294 } 294 }
295 /* not the desired interface? */ 295 /* not the desired interface? */
@@ -342,12 +342,12 @@ static int print_class(const struct sockaddr_nl *who UNUSED_PARAM,
342 /*XXX Eventually factor out common code */ 342 /*XXX Eventually factor out common code */
343 343
344 if (hdr->nlmsg_type != RTM_NEWTCLASS && hdr->nlmsg_type != RTM_DELTCLASS) { 344 if (hdr->nlmsg_type != RTM_NEWTCLASS && hdr->nlmsg_type != RTM_DELTCLASS) {
345 /* bb_error_msg("Not a class"); */ 345 /* bb_error_msg("not a class"); */
346 return 0; /* ??? mimic upstream; should perhaps return -1 */ 346 return 0; /* ??? mimic upstream; should perhaps return -1 */
347 } 347 }
348 len -= NLMSG_LENGTH(sizeof(*msg)); 348 len -= NLMSG_LENGTH(sizeof(*msg));
349 if (len < 0) { 349 if (len < 0) {
350 /* bb_error_msg("Wrong len %d", len); */ 350 /* bb_error_msg("wrong len %d", len); */
351 return -1; 351 return -1;
352 } 352 }
353 /* not the desired interface? */ 353 /* not the desired interface? */