summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_url.c
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2008-09-10 14:01:24 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2008-09-10 14:01:24 +0000
commit33d64896abc9e79070ec22125a832e7d8ef87878 (patch)
tree1f2297f6ceb3127f1cc36b8d9c89baeeceb16922 /sys/dev/usb/if_url.c
parent528af50e90df2cf2ebdf638dc4d94752c1861936 (diff)
Convert timeout_add() calls using multiples of hz to timeout_add_sec()
Really just the low-hanging fruit of (hopefully) forthcoming timeout conversions. ok art@, krw@
Diffstat (limited to 'sys/dev/usb/if_url.c')
-rw-r--r--sys/dev/usb/if_url.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_url.c b/sys/dev/usb/if_url.c
index dff0568c6c4..2d9b1e87e39 100644
--- a/sys/dev/usb/if_url.c
+++ b/sys/dev/usb/if_url.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_url.c,v 1.50 2007/11/23 15:43:02 mbalmer Exp $ */
+/* $OpenBSD: if_url.c,v 1.51 2008/09/10 14:01:23 blambert Exp $ */
/* $NetBSD: if_url.c,v 1.6 2002/09/29 10:19:21 martin Exp $ */
/*
* Copyright (c) 2001, 2002
@@ -574,7 +574,7 @@ url_init(struct ifnet *ifp)
splx(s);
- timeout_add(&sc->sc_stat_ch, hz);
+ timeout_add_sec(&sc->sc_stat_ch, 1);
return (0);
}
@@ -1381,7 +1381,7 @@ url_tick_task(void *xsc)
url_start(ifp);
}
- timeout_add(&sc->sc_stat_ch, hz);
+ timeout_add_sec(&sc->sc_stat_ch, 1);
splx(s);
}