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:
parent
0f8772404f
commit
6ed5918a25
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user