summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/netstat.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-01-27 13:49:22 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-01-27 13:49:22 +0000
commitb381ee4d1e32c37a7315a095720bd51f73351ee9 (patch)
tree4878bb3dc83ec41fc3de092ae805a7bd9a14d118 /usr.bin/netstat/netstat.h
parent4d89d5dd4cc74b94386aaf2339ecdf27186a55eb (diff)
Fix some interger overflows when accounting the used mbuf memory percentage
and while there use a better type for the plural{,es}() functions. OK henning@
Diffstat (limited to 'usr.bin/netstat/netstat.h')
-rw-r--r--usr.bin/netstat/netstat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/netstat/netstat.h b/usr.bin/netstat/netstat.h
index 790218746bd..4fafb167e26 100644
--- a/usr.bin/netstat/netstat.h
+++ b/usr.bin/netstat/netstat.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: netstat.h,v 1.48 2008/09/16 15:48:13 gollo Exp $ */
+/* $OpenBSD: netstat.h,v 1.49 2009/01/27 13:49:21 claudio Exp $ */
/* $NetBSD: netstat.h,v 1.6 1996/05/07 02:55:05 thorpej Exp $ */
/*
@@ -66,8 +66,8 @@ extern char *__progname; /* program name, from crt0.o */
int kread(u_long addr, void *buf, int size);
-char *plural(int);
-char *plurales(int);
+char *plural(u_int64_t);
+char *plurales(u_int64_t);
void protopr(u_long, char *);
void ip6protopr(u_long, char *);