diff options
author | mpp <mpp@FreeBSD.org> | 1996-01-20 12:56:57 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1996-01-20 12:56:57 +0000 |
commit | 67ab82dff8bcc3226fa4300bd7522d7d641979aa (patch) | |
tree | b06e1d7893aa5988cf47482ded8044a57401314e /sbin/route | |
parent | 2b29f1bc1b5be3c2f2810ad914dd33eedbe41aad (diff) | |
download | FreeBSD-src-67ab82dff8bcc3226fa4300bd7522d7d641979aa.zip FreeBSD-src-67ab82dff8bcc3226fa4300bd7522d7d641979aa.tar.gz |
Route calls the errx routine with the wrong number of arguments
when printing "route: bad address: ...".
Diffstat (limited to 'sbin/route')
-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 1c763c7..0ec780b 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 |