summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-11-16 18:42:35 +0000
committerderaadt <deraadt@openbsd.org>1997-11-16 18:42:35 +0000
commit5632acaacb69fdd6a4fc4fce9687fed43c9f6ac2 (patch)
tree0ad3c268eaab9c8396a47f0fd9cb4ed3740fc555
parentAdd ch* at scsibus? (diff)
downloadwireguard-openbsd-5632acaacb69fdd6a4fc4fce9687fed43c9f6ac2.tar.xz
wireguard-openbsd-5632acaacb69fdd6a4fc4fce9687fed43c9f6ac2.zip
fix error message
-rw-r--r--sbin/route/route.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index 1742ddf22ab..eae23c23973 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.23 1997/07/13 23:12:09 angelos Exp $ */
+/* $OpenBSD: route.c,v 1.24 1997/11/16 18:42:35 deraadt Exp $ */
/* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)route.c 8.3 (Berkeley) 3/19/94";
#else
-static char rcsid[] = "$OpenBSD: route.c,v 1.23 1997/07/13 23:12:09 angelos Exp $";
+static char rcsid[] = "$OpenBSD: route.c,v 1.24 1997/11/16 18:42:35 deraadt Exp $";
#endif
#endif /* not lint */
@@ -957,7 +957,7 @@ netdone:
memcpy(&su->sin.sin_addr, hp->h_addr, hp->h_length);
return (1);
}
- (void) fprintf(stderr, "%s: bad value\n", s);
+ (void) fprintf(stderr, "route: %s: bad value\n", s);
exit(1);
}