summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2008-10-15 19:12:21 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2008-10-15 19:12:21 +0000
commit447ea046b5b4aba425b2879f683099c1cfa3713f (patch)
tree8bca5f4e5c63f94a107ad0f4fb69f34c526fe488 /sys/arch/vax
parentb302a033156f300c77b20b1eb011b4ceaccff009 (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/arch/vax')
-rw-r--r--sys/arch/vax/qbus/dz.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/vax/qbus/dz.c b/sys/arch/vax/qbus/dz.c
index 88f6848cd7e..3ce7edc9313 100644
--- a/sys/arch/vax/qbus/dz.c
+++ b/sys/arch/vax/qbus/dz.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dz.c,v 1.16 2008/08/24 14:51:22 miod Exp $ */
+/* $OpenBSD: dz.c,v 1.17 2008/10/15 19:12:19 blambert Exp $ */
/* $NetBSD: dz.c,v 1.23 2000/06/04 02:14:12 matt Exp $ */
/*
* Copyright (c) 1996 Ken C. Wellsch. All rights reserved.
@@ -134,7 +134,7 @@ dzattach(struct dz_softc *sc)
if (dz_timer == 0) {
dz_timer = 1;
timeout_set(&dz_timeout, dzscan, NULL);
- timeout_add(&dz_timeout, hz);
+ timeout_add_sec(&dz_timeout, 1);
}
printf("\n");
}
@@ -695,7 +695,7 @@ dzscan(void *arg)
sc->sc_rxint = 0;
}
splx(s);
- timeout_add(&dz_timeout, hz);
+ timeout_add_sec(&dz_timeout, 1);
}
/*