summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2006-06-20 09:19:51 +0000
committerRay Lai <ray@cvs.openbsd.org>2006-06-20 09:19:51 +0000
commit280659be6ef5e621f7cbf8292fbee83dcc89a934 (patch)
tree6e0dd645746b7c1880b47f3fba3a2c44abf32d1d
parente6e913fb719974625ba44e9cba94f9ca8ee2f7c6 (diff)
Mention that only the superuser may adjust the frequency. Like in
adjtime(2), but less wordy. OK otto@, jmc@.
-rw-r--r--lib/libc/sys/adjfreq.24
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/adjfreq.2 b/lib/libc/sys/adjfreq.2
index 4cdbbe56596..f2891723dca 100644
--- a/lib/libc/sys/adjfreq.2
+++ b/lib/libc/sys/adjfreq.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: adjfreq.2,v 1.1 2006/06/14 19:55:24 otto Exp $
+.\" $OpenBSD: adjfreq.2,v 1.2 2006/06/20 09:19:50 ray Exp $
.\"
.\" Copyright (c) 2006 Otto Moerbeek
.\"
@@ -45,6 +45,8 @@ shifted left 32 bits to allow for fractional values.
If
.Fa oldfreq
is non-null, the current value is returned.
+.Pp
+Only the superuser may adjust the frequency.
.Sh RETURN VALUES
A return value of 0 indicates that the call succeeded.
A return value of \-1 indicates that an error occurred, and in this