diff options
author | phk <phk@FreeBSD.org> | 2002-04-26 21:31:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-04-26 21:31:44 +0000 |
commit | d1d55e6cb9412612405c83d273cf677819a841a5 (patch) | |
tree | 2d6cf3e9c14f0c8a30d152f6f10c4cc46d797f25 /sys/kern/kern_time.c | |
parent | 47e5a75efe42b9d1926080e0a6d1787413891b8d (diff) | |
download | FreeBSD-src-d1d55e6cb9412612405c83d273cf677819a841a5.zip FreeBSD-src-d1d55e6cb9412612405c83d273cf677819a841a5.tar.gz |
Hide the private parts of timecounter from a couple of places that don't
really need to know the gory details.
Diffstat (limited to 'sys/kern/kern_time.c')
-rw-r--r-- | sys/kern/kern_time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_time.c b/sys/kern/kern_time.c index fd86212..645170e 100644 --- a/sys/kern/kern_time.c +++ b/sys/kern/kern_time.c @@ -222,7 +222,7 @@ clock_getres(td, uap) error = 0; if (SCARG(uap, tp)) { ts.tv_sec = 0; - ts.tv_nsec = 1000000000 / timecounter->tc_frequency; + ts.tv_nsec = 1000000000 / tc_getfrequency(); error = copyout(&ts, SCARG(uap, tp), sizeof(ts)); } return (error); |