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:
Thomas Moestl 2001-07-29 22:01:55 +00:00
parent 1e543a5075
commit d35bce02ee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80552

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. */