Correct the old length argument passed to sysctlbyname to be a pointer

to a size_t (not to an int).

MFC after:	2 days
This commit is contained in:
tmm 2001-07-29 22:01:55 +00:00
parent 3ea330259b
commit b7e79511f8

View File

@ -87,7 +87,8 @@ devname(dev, type)
mode_t type;
{
static char buf[SPECNAMELEN + 1];
int i, j;
int i;
size_t j;
char *r;
/* First check the DB file. */