Add missing flag to userland_sysctl()
This commit is contained in:
parent
097afe9133
commit
256d6e16b0
@ -1772,7 +1772,7 @@ osf1_sysinfo(td, uap)
|
||||
name[1] = KERN_HOSTNAME;
|
||||
mtx_lock(&Giant);
|
||||
retval = userland_sysctl(td, name, 2, uap->buf, &len,
|
||||
1, 0, 0, &bytes);
|
||||
1, 0, 0, &bytes, 0);
|
||||
mtx_unlock(&Giant);
|
||||
td->td_retval[0] = bytes;
|
||||
return(retval);
|
||||
|
Loading…
Reference in New Issue
Block a user