summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2006-04-13 20:08:12 +0000
committermiod <miod@openbsd.org>2006-04-13 20:08:12 +0000
commitbfe4c9b5e9b10ed71d74c09f10bdaa87f2a2b02f (patch)
treee1873aa72f4fcf564e6200cdd66bc0efeabdffdf
parentadd support for the openrcs -o'range' option. (diff)
downloadwireguard-openbsd-bfe4c9b5e9b10ed71d74c09f10bdaa87f2a2b02f.tar.xz
wireguard-openbsd-bfe4c9b5e9b10ed71d74c09f10bdaa87f2a2b02f.zip
Fix timeout initialization bug introduced in rev 1.8.
-rw-r--r--sys/arch/hp300/dev/ppi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/hp300/dev/ppi.c b/sys/arch/hp300/dev/ppi.c
index 60b42b0770d..3f8de58fbdd 100644
--- a/sys/arch/hp300/dev/ppi.c
+++ b/sys/arch/hp300/dev/ppi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ppi.c,v 1.15 2006/01/19 23:54:41 miod Exp $ */
+/* $OpenBSD: ppi.c,v 1.16 2006/04/13 20:08:12 miod Exp $ */
/* $NetBSD: ppi.c,v 1.13 1997/04/02 22:37:33 scottr Exp $ */
/*
@@ -92,7 +92,6 @@ int ppirw(dev_t, struct uio *);
int ppihztoms(int);
int ppimstohz(int);
-bdev_decl(ppi);
cdev_decl(ppi);
#define UNIT(x) minor(x)
@@ -154,7 +153,7 @@ ppiattach(parent, self, aux)
/* Initialize timeout structures */
timeout_set(&sc->sc_to, ppitimo, sc);
- timeout_set(&sc->sc_to, ppistart, sc);
+ timeout_set(&sc->sc_start_to, ppistart, sc);
}
void