summaryrefslogtreecommitdiff
path: root/sys/kern/kern_ntptime.c
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1998-02-08 22:41:53 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1998-02-08 22:41:53 +0000
commit7be79d1dabf4aa2c866b352e2a4ab286a403e5d6 (patch)
treed445472670515452a4a239cef652c9f1b617f841 /sys/kern/kern_ntptime.c
parent5f824803e29da9efcd793a89ec59fe8a8297a269 (diff)
Updates to match type changes in syscall tables
Diffstat (limited to 'sys/kern/kern_ntptime.c')
-rw-r--r--sys/kern/kern_ntptime.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_ntptime.c b/sys/kern/kern_ntptime.c
index a5d284c1c6b..e88ddc9712d 100644
--- a/sys/kern/kern_ntptime.c
+++ b/sys/kern/kern_ntptime.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_ntptime.c,v 1.5 1997/08/29 20:44:25 kstailey Exp $ */
+/* $OpenBSD: kern_ntptime.c,v 1.6 1998/02/08 22:41:35 tholo Exp $ */
/* $NetBSD: kern_ntptime.c,v 1.2 1996/03/07 14:31:20 christos Exp $ */
/******************************************************************************
@@ -111,14 +111,14 @@ sys_ntp_gettime(p, v, retval)
{
struct sys_ntp_gettime_args /* {
- syscallarg(struct timex *) tp;
+ syscallarg(struct timex *) ntvp;
} */ *uap = v;
struct timeval atv;
struct ntptimeval ntv;
int error = 0;
int s;
- if (SCARG(uap, tp)) {
+ if (SCARG(uap, ntvp)) {
s = splclock();
#ifdef EXT_CLOCK
/*
@@ -142,7 +142,7 @@ sys_ntp_gettime(p, v, retval)
ntv.esterror = time_esterror;
(void) splx(s);
- error = copyout((caddr_t)&ntv, (caddr_t)SCARG(uap, tp),
+ error = copyout((caddr_t)&ntv, (caddr_t)SCARG(uap, ntvp),
sizeof (ntv));
}
if (!error) {