summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat/pstat.c
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2001-07-30 21:42:26 +0000
committertmm <tmm@FreeBSD.org>2001-07-30 21:42:26 +0000
commitd67a26493aa2d98099aa4e20d76f6388ccbd7bd3 (patch)
tree128dbcb4bda5d21a73ced28989f478a0d473196e /usr.sbin/pstat/pstat.c
parent75c7d22b1e60b7e2c581b8d3c08dd5da975aeeac (diff)
downloadFreeBSD-src-d67a26493aa2d98099aa4e20d76f6388ccbd7bd3.zip
FreeBSD-src-d67a26493aa2d98099aa4e20d76f6388ccbd7bd3.tar.gz
Fix the third argument to sysctlbyname() to be of the type size_t *
(instead of int *). MFC after: 2 days
Diffstat (limited to 'usr.sbin/pstat/pstat.c')
-rw-r--r--usr.sbin/pstat/pstat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 380464f..595f48a 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -727,7 +727,8 @@ ttymode()
{
struct tty *tty;
struct tty ttyb[1000];
- int error, len, i;
+ int error;
+ size_t len, i;
(void)printf("%s", hdr);
len = sizeof(ttyb);
OpenPOWER on IntegriCloud