diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2009-08-03 07:08:34 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2009-08-03 07:08:34 +0000 |
commit | f6c4da1eb140782c8de32d6af3d0396a6e715812 (patch) | |
tree | a0282472768a5aa0967d41a9e42b226492df7679 /sys | |
parent | b94a02f5607d88c0e708d884e49eb118c8a6c853 (diff) |
timeout_add -> timeout_add_msec
ok dlg@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_sensors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sensors.c b/sys/kern/kern_sensors.c index 69a534fd63b..a1d0453bf94 100644 --- a/sys/kern/kern_sensors.c +++ b/sys/kern/kern_sensors.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sensors.c,v 1.22 2008/09/10 14:01:23 blambert Exp $ */ +/* $OpenBSD: kern_sensors.c,v 1.23 2009/08/03 07:08:33 blambert Exp $ */ /* * Copyright (c) 2005 David Gwynne <dlg@openbsd.org> @@ -232,7 +232,7 @@ sensor_task_tick(void *arg) /* try to schedule the task */ if (workq_add_task(NULL, 0, sensor_task_work, st, NULL) != 0) - timeout_add(&st->timeout, hz/2); + timeout_add_msec(&st->timeout, 500); st->state = ST_WORKQ; } |