diff options
author | Bruce Evans <bde@FreeBSD.org> | 1997-09-01 00:01:50 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1997-09-01 00:01:50 +0000 |
commit | bf78672450a9164a0659852aa109179aade00836 (patch) | |
tree | ceb46009ec018be2ae62a16e00497afc162a6462 /tools | |
parent | 6d58e6cbc4cffafb897651f089dc2f9cfd6c80d6 (diff) | |
download | src-test2-bf78672450a9164a0659852aa109179aade00836.tar.gz src-test2-bf78672450a9164a0659852aa109179aade00836.zip |
Notes
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/ifinfo/ifinfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/tools/ifinfo/ifinfo.c b/tools/tools/ifinfo/ifinfo.c index 14023fa558a4..b6d837c7ed97 100644 --- a/tools/tools/ifinfo/ifinfo.c +++ b/tools/tools/ifinfo/ifinfo.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: ifinfo.c,v 1.3 1997/02/22 14:08:24 peter Exp $ */ #include <sys/types.h> #include <sys/socket.h> /* for PF_LINK */ @@ -38,6 +38,7 @@ #include <stdlib.h> #include <string.h> #include <sysexits.h> +#include <unistd.h> #include <net/if.h> #include <net/if_types.h> @@ -54,8 +55,7 @@ static printfcn findlink(int); static void usage(const char *argv0) { - fprintf(stderr, "%s: usage:\n\t%s [-i] [ifnames...]\n", - argv0, argv0); + fprintf(stderr, "%s: usage:\n\t%s [-l]\n", argv0, argv0); exit(EX_USAGE); } |