summaryrefslogtreecommitdiffstats
path: root/sbin/sysctl
diff options
context:
space:
mode:
authorjhay <jhay@FreeBSD.org>1997-06-24 18:23:32 +0000
committerjhay <jhay@FreeBSD.org>1997-06-24 18:23:32 +0000
commit0814c237ffe31ac47b231849c9c71807c1f3a7a4 (patch)
treee3c0f3e697de3d34fa2016049edd3ef5883f1194 /sbin/sysctl
parenta4aac2a29ba661ede26d80831ef774e49b95301d (diff)
downloadFreeBSD-src-0814c237ffe31ac47b231849c9c71807c1f3a7a4.zip
FreeBSD-src-0814c237ffe31ac47b231849c9c71807c1f3a7a4.tar.gz
Display tickadj in struct clockinfo.
Diffstat (limited to 'sbin/sysctl')
-rw-r--r--sbin/sysctl/sysctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index b1629f0..7e222bb 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -40,7 +40,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "From: @(#)sysctl.c 8.1 (Berkeley) 6/6/93"; */
static const char rcsid[] =
- "$Id: sysctl.c,v 1.12 1997/02/22 16:13:58 peter Exp $";
+ "$Id: sysctl.c,v 1.13 1997/03/31 05:11:25 imp Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -222,8 +222,8 @@ S_clockinfo(int l2, void *p)
struct clockinfo *ci = (struct clockinfo*)p;
if (l2 != sizeof *ci)
err(-1, "S_clockinfo %d != %d", l2, sizeof *ci);
- printf("{ hz = %d, tick = %d, profhz = %d, stathz = %d }",
- ci->hz, ci->tick, ci->profhz, ci->stathz);
+ printf("{ hz = %d, tick = %d, tickadj = %d, profhz = %d, stathz = %d }",
+ ci->hz, ci->tick, ci->tickadj, ci->profhz, ci->stathz);
return (0);
}
OpenPOWER on IntegriCloud