Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-compat]: src/sys/dev Fix some NTP-related function pointers
details: https://anonhg.NetBSD.org/src/rev/ef567b79bbf2
branches: pgoyette-compat
changeset: 830800:ef567b79bbf2
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Thu Sep 27 03:07:21 2018 +0000
description:
Fix some NTP-related function pointers
diffstat:
sys/dev/clockctl.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 6f0cc3bc7553 -r ef567b79bbf2 sys/dev/clockctl.c
--- a/sys/dev/clockctl.c Thu Sep 27 02:44:24 2018 +0000
+++ b/sys/dev/clockctl.c Thu Sep 27 03:07:21 2018 +0000
@@ -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 @@
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:
Home |
Main Index |
Thread Index |
Old Index