summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblambert <blambert@openbsd.org>2009-07-24 14:13:28 +0000
committerblambert <blambert@openbsd.org>2009-07-24 14:13:28 +0000
commit88082ea184fdb313f041bfde116455ee14ef8a65 (patch)
treea23fbbd1ee4fa6467777685ce485546ccb5d9c8c
parentRECONF_REINIT is a bad initial reconf_action state for templates. (diff)
downloadwireguard-openbsd-88082ea184fdb313f041bfde116455ee14ef8a65.tar.xz
wireguard-openbsd-88082ea184fdb313f041bfde116455ee14ef8a65.zip
timeout_add -> timeout_add_sec
ok marco@
-rw-r--r--sys/dev/softraid_aoe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid_aoe.c b/sys/dev/softraid_aoe.c
index a0d03c4668a..88362928db8 100644
--- a/sys/dev/softraid_aoe.c
+++ b/sys/dev/softraid_aoe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid_aoe.c,v 1.7 2009/06/03 17:39:26 ckuethe Exp $ */
+/* $OpenBSD: softraid_aoe.c,v 1.8 2009/07/24 14:13:28 blambert Exp $ */
/*
* Copyright (c) 2008 Ted Unangst <tedu@openbsd.org>
* Copyright (c) 2008 Marco Peereboom <marco@openbsd.org>
@@ -428,7 +428,7 @@ ragain:
IFQ_ENQUEUE(&ifp->if_snd, m, NULL, rv);
if ((ifp->if_flags & IFF_OACTIVE) == 0)
(*ifp->if_start)(ifp);
- timeout_add(&ar->to, hz * 10);
+ timeout_add_sec(&ar->to, 10);
splx(s);
if (rv) {