diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2010-06-30 15:22:06 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2010-06-30 15:22:06 +0000 |
commit | a36c9923430f75c6f2a2fd13747862c1fe7c2e0e (patch) | |
tree | 12594b77fff82611c3a64c566fdf10cd2b77fe2c /sys | |
parent | 81609947416af1a71a250f5194c2b4ce3ab33573 (diff) |
change a pair of timeout_add calls to timeout_add_{,m}sec
ok dlg@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/i386/esm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/esm.c b/sys/arch/i386/i386/esm.c index bc7ccb89bdc..5a334550f99 100644 --- a/sys/arch/i386/i386/esm.c +++ b/sys/arch/i386/i386/esm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: esm.c,v 1.50 2009/10/24 22:11:07 miod Exp $ */ +/* $OpenBSD: esm.c,v 1.51 2010/06/30 15:22:05 blambert Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> @@ -464,11 +464,11 @@ esm_refresh(void *arg) if (sc->sc_nextsensor == NULL) { sc->sc_nextsensor = TAILQ_FIRST(&sc->sc_sensors); - timeout_add(&sc->sc_timeout, hz * 10); + timeout_add_sec(&sc->sc_timeout, 10); return; } tick: - timeout_add(&sc->sc_timeout, hz / 20); + timeout_add_msec(&sc->sc_timeout, 50); } int |