summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/main.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-10-28 19:59:25 +0000
committerderaadt <deraadt@openbsd.org>2013-10-28 19:59:25 +0000
commit956b7878018c055727f417cb32480f2953293f4f (patch)
tree2b01166e21161109d433b854b02e4aefe7df9d9c /usr.bin/netstat/main.c
parentalias files may be empty (diff)
downloadwireguard-openbsd-956b7878018c055727f417cb32480f2953293f4f.tar.xz
wireguard-openbsd-956b7878018c055727f417cb32480f2953293f4f.zip
use %d instea of %i
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r--usr.bin/netstat/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c
index 9b2b62e4310..ceb25c54211 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.96 2013/10/22 16:40:28 guenther Exp $ */
+/* $OpenBSD: main.c,v 1.97 2013/10/28 19:59:25 deraadt Exp $ */
/* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */
/*
@@ -571,7 +571,7 @@ gettable(const char *s)
len = sizeof(info);
if (sysctl(mib, 6, &info, &len, NULL, 0) == -1)
- err(1, "routing table %i", tableid);
+ err(1, "routing table %d", tableid);
return (tableid);
}