summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/route.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2004-01-13 20:03:29 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2004-01-13 20:03:29 +0000
commite8a4cf5b78e8c179459cda38c2c099e8be8ed653 (patch)
tree21c9ce7a6a8fc64b8181bc0bb400939b74004b56 /usr.bin/netstat/route.c
parent5347a83a84825250010e9645c385ada050dea20e (diff)
Fix printf formats and add missing include.
ok mcbride@ deraadt@
Diffstat (limited to 'usr.bin/netstat/route.c')
-rw-r--r--usr.bin/netstat/route.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c
index f9af35199ae..da3d6527740 100644
--- a/usr.bin/netstat/route.c
+++ b/usr.bin/netstat/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.60 2003/10/07 19:48:07 tedu Exp $ */
+/* $OpenBSD: route.c,v 1.61 2004/01/13 20:03:28 otto Exp $ */
/* $NetBSD: route.c,v 1.15 1996/05/07 02:55:06 thorpej Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)route.c 8.3 (Berkeley) 3/9/94";
#else
-static char *rcsid = "$OpenBSD: route.c,v 1.60 2003/10/07 19:48:07 tedu Exp $";
+static char *rcsid = "$OpenBSD: route.c,v 1.61 2004/01/13 20:03:28 otto Exp $";
#endif
#endif /* not lint */
@@ -62,6 +62,7 @@ static char *rcsid = "$OpenBSD: route.c,v 1.60 2003/10/07 19:48:07 tedu Exp $";
#include <arpa/inet.h>
+#include <err.h>
#include <limits.h>
#include <netdb.h>
#include <stdio.h>