diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2008-10-15 19:12:21 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2008-10-15 19:12:21 +0000 |
commit | 447ea046b5b4aba425b2879f683099c1cfa3713f (patch) | |
tree | 8bca5f4e5c63f94a107ad0f4fb69f34c526fe488 /sys/dev/usb/if_uath.c | |
parent | b302a033156f300c77b20b1eb011b4ceaccff009 (diff) |
Second pass of simple timeout_add -> timeout_add_sec conversions
This should take care of the simpler ones (i.e., timeout values of
integer multiples of hz).
ok krw@, art@
Diffstat (limited to 'sys/dev/usb/if_uath.c')
-rw-r--r-- | sys/dev/usb/if_uath.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_uath.c b/sys/dev/usb/if_uath.c index 5b43dcdce37..6955a630625 100644 --- a/sys/dev/usb/if_uath.c +++ b/sys/dev/usb/if_uath.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_uath.c,v 1.36 2008/09/23 10:47:14 canacar Exp $ */ +/* $OpenBSD: if_uath.c,v 1.37 2008/10/15 19:12:18 blambert Exp $ */ /*- * Copyright (c) 2006 @@ -911,7 +911,7 @@ uath_task(void *arg) 0); /* start statistics timer */ - timeout_add(&sc->stat_to, hz); + timeout_add_sec(&sc->stat_to, 1); break; } } @@ -1163,7 +1163,7 @@ uath_cmd_rxeof(usbd_xfer_handle xfer, usbd_private_handle priv, case UATH_NOTIF_STATS: DPRINTFN(2, ("received device statistics\n")); - timeout_add(&sc->stat_to, hz); + timeout_add_sec(&sc->stat_to, 1); break; } |