mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 19:43:41 +00:00
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
1e543a5075
commit
d35bce02ee
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80552
@ -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