Add missing flag to userland_sysctl()

This commit is contained in:
Poul-Henning Kamp 2004-10-14 10:43:47 +00:00
parent 097afe9133
commit 256d6e16b0

View File

@ -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);