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 /usr.bin | |
parent | 4c9b8c7970367b718b6fc99ee5ad044ac3fd38cc (diff) |
Rename __sysctl syscall to just sysctl, as the userland wrapper is no longer
necessary
ok deraadt@ jsing@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/kdump/kdump.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index ef9e879fee5..c027eb8b274 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kdump.c,v 1.104 2015/09/07 15:38:45 guenther Exp $ */ +/* $OpenBSD: kdump.c,v 1.105 2015/09/13 17:08:03 guenther Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -830,7 +830,7 @@ static const formatter scargs[][8] = { [SYS_lseek] = { Pfd, PAD, Poff_t, Whencename }, [SYS_truncate] = { Ppath, PAD, Poff_t }, [SYS_ftruncate] = { Pfd, PAD, Poff_t }, - /* [SYS___sysctl] = { }, Magic */ + /* [SYS_sysctl] = { }, Magic */ [SYS_mlock] = { Pptr, Pbigsize }, [SYS_munlock] = { Pptr, Pbigsize }, [SYS_getpgid] = { Ppid_t }, @@ -910,7 +910,7 @@ ktrsyscall(struct ktr_syscall *ktr, size_t ktrlen) if (current != &emulations[0]) goto nonnative; - if (ktr->ktr_code == SYS___sysctl) { + if (ktr->ktr_code == SYS_sysctl) { const char *s; int n, i, *top; |