diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-13 17:08:05 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-13 17:08:05 +0000 |
commit | c32c0c80d11cf0d1ba4b425261db6e2839e58b58 (patch) | |
tree | 7a3c63feeabb51e25ac902b11d79d060cf949a8a /sys/kern/kern_ktrace.c | |
parent | 4c9b8c7970367b718b6fc99ee5ad044ac3fd38cc (diff) |
Rename __sysctl syscall to just sysctl, as the userland wrapper is no longer
necessary
ok deraadt@ jsing@
Diffstat (limited to 'sys/kern/kern_ktrace.c')
-rw-r--r-- | sys/kern/kern_ktrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_ktrace.c b/sys/kern/kern_ktrace.c index 29403528cde..bb6a97a3ded 100644 --- a/sys/kern/kern_ktrace.c +++ b/sys/kern/kern_ktrace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_ktrace.c,v 1.77 2015/09/07 15:38:45 guenther Exp $ */ +/* $OpenBSD: kern_ktrace.c,v 1.78 2015/09/13 17:08:03 guenther Exp $ */ /* $NetBSD: kern_ktrace.c,v 1.23 1996/02/09 18:59:36 christos Exp $ */ /* @@ -159,7 +159,7 @@ ktrsyscall(struct proc *p, register_t code, size_t argsize, register_t args[]) u_int nargs = 0; int i; - if (code == SYS___sysctl && (p->p_p->ps_emul->e_flags & EMUL_NATIVE)) { + if (code == SYS_sysctl && (p->p_p->ps_emul->e_flags & EMUL_NATIVE)) { /* * The native sysctl encoding stores the mib[] * array because it is interesting. |