Module Name: src
Committed By: pgoyette
Date: Thu Sep 27 03:07:21 UTC 2018
Modified Files:
src/sys/dev [pgoyette-compat]: clockctl.c
Log Message:
Fix some NTP-related function pointers
To generate a diff of this commit:
cvs rdiff -u -r1.35.14.6 -r1.35.14.7 src/sys/dev/clockctl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/clockctl.c
diff -u src/sys/dev/clockctl.c:1.35.14.6 src/sys/dev/clockctl.c:1.35.14.7
--- src/sys/dev/clockctl.c:1.35.14.6 Mon Sep 24 23:18:15 2018
+++ src/sys/dev/clockctl.c Thu Sep 27 03:07:21 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: clockctl.c,v 1.35.14.6 2018/09/24 23:18:15 pgoyette Exp $ */
+/* $NetBSD: clockctl.c,v 1.35.14.7 2018/09/27 03:07:21 pgoyette Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: clockctl.c,v 1.35.14.6 2018/09/24 23:18:15 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clockctl.c,v 1.35.14.7 2018/09/27 03:07:21 pgoyette Exp $");
#ifdef _KERNEL_OPT
#include "opt_ntp.h"
@@ -263,11 +263,11 @@ clockctlioctl(
if (error)
return (error);
- ntp_adjtime1(&ntv);
+ (*vec_ntp_adjtime1)(&ntv);
error = copyout(&ntv, args->tp, sizeof(ntv));
if (error == 0)
- args->retval = ntp_timestatus();
+ args->retval = (*vec_ntp_timestatus)();
break;
}
default: