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:
parent
3ea330259b
commit
b7e79511f8
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user