summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sysctl.c
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1996-04-19 16:08:13 +0000
committerniklas <niklas@openbsd.org>1996-04-19 16:08:13 +0000
commit0c0430f8be50281c74d9dc83e99431ec6557954b (patch)
treeafa225701d5d148fcc2f938d8b48ae7e0389ceef /sys/kern/kern_sysctl.c
parentFix a bit, so it's now compiles. (diff)
downloadwireguard-openbsd-0c0430f8be50281c74d9dc83e99431ec6557954b.tar.xz
wireguard-openbsd-0c0430f8be50281c74d9dc83e99431ec6557954b.zip
NetBSD 960317 merge
Diffstat (limited to 'sys/kern/kern_sysctl.c')
-rw-r--r--sys/kern/kern_sysctl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index 13839f7631c..aa3af083155 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: kern_sysctl.c,v 1.3 1996/03/30 04:51:32 mickey Exp $ */
-/* $NetBSD: kern_sysctl.c,v 1.14 1996/02/09 18:59:52 christos Exp $ */
+/* $OpenBSD: kern_sysctl.c,v 1.4 1996/04/19 16:08:59 niklas Exp $ */
+/* $NetBSD: kern_sysctl.c,v 1.15 1996/02/27 04:20:40 jonathan Exp $ */
/*-
* Copyright (c) 1982, 1986, 1989, 1993
@@ -287,6 +287,8 @@ kern_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p)
return (sysctl_rdint(oldp, oldlenp, newp, MAXPARTITIONS));
case KERN_RAWPARTITION:
return (sysctl_rdint(oldp, oldlenp, newp, RAW_PART));
+ case KERN_NTPTIME:
+ return (sysctl_ntptime(oldp, oldlenp));
default:
return (EOPNOTSUPP);
}