diff options
author | Glenn L McGrath | 2003-02-09 22:40:34 +0000 |
---|---|---|
committer | Glenn L McGrath | 2003-02-09 22:40:34 +0000 |
commit | 883d4842d26e0ad7667c04579c089ec3ba7960d8 (patch) | |
tree | 058d47cfedf18269b0a6986a7536e9b812c74677 /libbb/interface.c | |
parent | 826b48b624e3c02b432b8ffbb7809657ddb3a012 (diff) | |
download | busybox-883d4842d26e0ad7667c04579c089ec3ba7960d8.zip busybox-883d4842d26e0ad7667c04579c089ec3ba7960d8.tar.gz |
Fix compiler warnings, patch by Steven Scholz
Diffstat (limited to 'libbb/interface.c')
-rw-r--r-- | libbb/interface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/interface.c b/libbb/interface.c index bdb77bc..fb79416 100644 --- a/libbb/interface.c +++ b/libbb/interface.c @@ -15,7 +15,7 @@ * that either displays or sets the characteristics of * one or more of the system's networking interfaces. * - * Version: $Id: interface.c,v 1.13 2003/01/14 08:54:06 andersen Exp $ + * Version: $Id: interface.c,v 1.14 2003/02/09 22:40:33 bug1 Exp $ * * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * and others. Copyright 1993 MicroWalt Corporation @@ -960,7 +960,7 @@ static int if_readconf(void) (as of 2.1.128) */ skfd2 = get_socket_for_af(AF_INET); if (skfd2 < 0) { - perror_msg(("warning: no inet socket available: %s\n")); + perror_msg(("warning: no inet socket available")); /* Try to soldier on with whatever socket we can get hold of. */ skfd2 = sockets_open(0); if (skfd2 < 0) @@ -1106,7 +1106,7 @@ static int if_readlist_proc(char *target) fh = fopen(_PATH_PROCNET_DEV, "r"); if (!fh) { - perror_msg(_("Warning: cannot open %s (%s). Limited output.\n"), _PATH_PROCNET_DEV); + perror_msg(_("Warning: cannot open %s. Limited output."), _PATH_PROCNET_DEV); return if_readconf(); } fgets(buf, sizeof buf, fh); /* eat line */ |