From 72fdd4aa7ffacbc35e9c3a225ae6e1a5afaaf5b7 Mon Sep 17 00:00:00 2001 From: Chris Kuethe Date: Sat, 4 Aug 2007 02:58:03 +0000 Subject: This diff makes ntpd poll for sensors more aggressively when the use of sensors is requested, but no sensors are found. ok henning --- usr.sbin/ntpd/ntpd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ntpd/ntpd.h') diff --git a/usr.sbin/ntpd/ntpd.h b/usr.sbin/ntpd/ntpd.h index 6f016cdc0a8..daf17772670 100644 --- a/usr.sbin/ntpd/ntpd.h +++ b/usr.sbin/ntpd/ntpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ntpd.h,v 1.84 2007/04/30 01:33:33 deraadt Exp $ */ +/* $OpenBSD: ntpd.h,v 1.85 2007/08/04 02:58:02 ckuethe Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -308,7 +308,7 @@ struct s_fixedpt d_to_sfp(double); /* sensors.c */ void sensor_init(void); -void sensor_scan(void); +int sensor_scan(void); void sensor_query(struct ntp_sensor *); int sensor_hotplugfd(void); void sensor_hotplugevent(int); -- cgit v1.2.3