diff options
author | Mike Pritchard <mpp@FreeBSD.org> | 1996-01-20 12:56:57 +0000 |
---|---|---|
committer | Mike Pritchard <mpp@FreeBSD.org> | 1996-01-20 12:56:57 +0000 |
commit | 49f523939ffc752a80e4610d9bdd8cb7edb5ea23 (patch) | |
tree | b06e1d7893aa5988cf47482ded8044a57401314e | |
parent | b2496d93eb4ddf3500a5cfdf652ba14121be98f1 (diff) | |
download | src-49f523939ffc752a80e4610d9bdd8cb7edb5ea23.tar.gz src-49f523939ffc752a80e4610d9bdd8cb7edb5ea23.zip |
Route calls the errx routine with the wrong number of arguments
when printing "route: bad address: ...".
Notes
Notes:
svn path=/head/; revision=13515
-rw-r--r-- | sbin/route/route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c index 1c763c766087..0ec780bc4d65 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -43,7 +43,7 @@ static const char copyright[] = static char sccsid[] = "@(#)route.c 8.3 (Berkeley) 3/19/94"; */ static const char rcsid[] = - "$Id$"; + "$Id: route.c,v 1.3 1996/01/02 20:09:22 wollman Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -867,7 +867,7 @@ netdone: bcopy(hp->h_addr, (char *)&su->sin.sin_addr, hp->h_length); return (1); } - errx(EX_NOHOST, "bad address: %s"); + errx(EX_NOHOST, "bad address: %s", s); } int |