1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Add missing zero flag arguments to sysctl calls.

Add missing pointy hat to peter@
This commit is contained in:
Poul-Henning Kamp 2004-10-12 07:58:13 +00:00
parent a1bd71b260
commit e1e785a3d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136418
3 changed files with 3 additions and 3 deletions

View File

@ -820,7 +820,7 @@ ibcs2_sysconf(td, uap)
mib[0] = CTL_KERN;
len = sizeof(value);
error = kernel_sysctl(td, mib, 2, &value, &len, NULL, 0, NULL);
error = kernel_sysctl(td, mib, 2, &value, &len, NULL, 0, NULL, 0);
if (error)
return error;
td->td_retval[0] = value;

View File

@ -207,5 +207,5 @@ ibcs2_setipdomainname(td, uap)
sctl[0] = CTL_KERN;
sctl[1] = KERN_HOSTNAME;
hlen = strlen(hname) + 1;
return (kernel_sysctl(td, sctl, 2, 0, 0, hname, hlen, 0));
return (kernel_sysctl(td, sctl, 2, 0, 0, hname, hlen, 0, 0));
}

View File

@ -79,7 +79,7 @@ ibcs2_sysi86(struct thread *td, struct ibcs2_sysi86_args *args)
name[0] = CTL_KERN;
name[1] = KERN_HOSTNAME;
return (userland_sysctl(td, name, 2, 0, 0, 0,
args->arg, 7, 0));
args->arg, 7, 0, 0));
}
case SI86_MEM: /* size of physical memory */