From d67a26493aa2d98099aa4e20d76f6388ccbd7bd3 Mon Sep 17 00:00:00 2001 From: tmm Date: Mon, 30 Jul 2001 21:42:26 +0000 Subject: [PATCH] Fix the third argument to sysctlbyname() to be of the type size_t * (instead of int *). MFC after: 2 days --- usr.sbin/pstat/pstat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index 380464fae5b2..595f48a4816c 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);