summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorThomas Nordin <nordin@cvs.openbsd.org>2002-07-06 19:14:21 +0000
committerThomas Nordin <nordin@cvs.openbsd.org>2002-07-06 19:14:21 +0000
commitadb28585e4802d642142e770be7ef276683bb58f (patch)
tree6016909e7ec82b58a471cd40838fb68a0d275d3d /sbin
parent4f23015d08ae2c991a6560c6d70151190bec00b8 (diff)
Remove kernel support for NTP. ok deraadt@ and tholo@
Diffstat (limited to 'sbin')
-rw-r--r--sbin/sysctl/sysctl.83
-rw-r--r--sbin/sysctl/sysctl.c9
2 files changed, 3 insertions, 9 deletions
diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8
index 84a6358fcf9..e82c2f5af71 100644
--- a/sbin/sysctl/sysctl.8
+++ b/sbin/sysctl/sysctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.8,v 1.88 2002/06/11 08:55:20 angelos Exp $
+.\" $OpenBSD: sysctl.8,v 1.89 2002/07/06 19:14:20 nordin Exp $
.\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $
.\"
.\" Copyright (c) 1993
@@ -121,7 +121,6 @@ privilege can change the value.
.It kern.job_control integer no
.It kern.saved_ids integer no
.It kern.boottime struct no
-.It kern.ntptime struct no
.It kern.cp_time struct no
.It kern.nchstats struct no
.It kern.forkstat struct no
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index e1f1cc79827..89d1c4d2e40 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysctl.c,v 1.83 2002/07/03 22:32:34 deraadt Exp $ */
+/* $OpenBSD: sysctl.c,v 1.84 2002/07/06 19:14:20 nordin Exp $ */
/* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)sysctl.c 8.5 (Berkeley) 5/9/95";
#else
-static char *rcsid = "$OpenBSD: sysctl.c,v 1.83 2002/07/03 22:32:34 deraadt Exp $";
+static char *rcsid = "$OpenBSD: sysctl.c,v 1.84 2002/07/06 19:14:20 nordin Exp $";
#endif
#endif /* not lint */
@@ -386,11 +386,6 @@ parse(char *string, int flags)
return;
warnx("use ps to view %s information", string);
return;
- case KERN_NTPTIME:
- if (flags == 0)
- return;
- warnx("use xntpdc to view %s information", string);
- return;
case KERN_CLOCKRATE:
special |= CLOCK;
break;