Fix the third argument to sysctlbyname() to be of the type size_t *

(instead of int *).

MFC after:	2 days
This commit is contained in:
Thomas Moestl 2001-07-30 21:42:26 +00:00
parent 0f8772404f
commit 6ed5918a25

View File

@ -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);