aboutsummaryrefslogtreecommitdiff
path: root/networking/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/interface.c')
-rw-r--r--networking/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/interface.c b/networking/interface.c
index 8e2498d27..4594293e4 100644
--- a/networking/interface.c
+++ b/networking/interface.c
@@ -325,7 +325,7 @@ static int sockets_open(int family)
325 sfd = af->fd; 325 sfd = af->fd;
326 } 326 }
327 if (sfd < 0) { 327 if (sfd < 0) {
328 bb_error_msg("No usable address families found."); 328 bb_error_msg("no usable address families found");
329 } 329 }
330 return sfd; 330 return sfd;
331} 331}
@@ -557,7 +557,7 @@ static int if_readlist_proc(char *target)
557 557
558 fh = fopen(_PATH_PROCNET_DEV, "r"); 558 fh = fopen(_PATH_PROCNET_DEV, "r");
559 if (!fh) { 559 if (!fh) {
560 bb_perror_msg("Warning: cannot open %s. Limited output.", _PATH_PROCNET_DEV); 560 bb_perror_msg("warning: cannot open %s, limiting output", _PATH_PROCNET_DEV);
561 return if_readconf(); 561 return if_readconf();
562 } 562 }
563 fgets(buf, sizeof buf, fh); /* eat line */ 563 fgets(buf, sizeof buf, fh); /* eat line */