summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/viasio.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2012-10-17 22:31:59 +0000
committerderaadt <deraadt@openbsd.org>2012-10-17 22:31:59 +0000
commit2bc62deca48d4e48b34ffa22cb9403b25aaa9c56 (patch)
treee9d3498ac5f31b94cd2cc5b05bb47b1c1d28ceab /sys/dev/isa/viasio.c
parentNarrow the spltty/splx pair in com_activate to only enclose the minimum (diff)
downloadwireguard-openbsd-2bc62deca48d4e48b34ffa22cb9403b25aaa9c56.tar.xz
wireguard-openbsd-2bc62deca48d4e48b34ffa22cb9403b25aaa9c56.zip
Swap arguments to wdog_register() since it is nicer, and prepare
wdog_shutdown() for external usage.
Diffstat (limited to 'sys/dev/isa/viasio.c')
-rw-r--r--sys/dev/isa/viasio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/viasio.c b/sys/dev/isa/viasio.c
index 08be95cd50e..3b82c46ded5 100644
--- a/sys/dev/isa/viasio.c
+++ b/sys/dev/isa/viasio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: viasio.c,v 1.12 2009/03/29 21:53:52 sthen Exp $ */
+/* $OpenBSD: viasio.c,v 1.13 2012/10/17 22:32:01 deraadt Exp $ */
/*
* Copyright (c) 2005 Alexander Yurchenko <grange@openbsd.org>
*
@@ -478,7 +478,7 @@ viasio_wdg_init(struct viasio_softc *sc)
}
/* Register new watchdog */
- wdog_register(sc, viasio_wdg_cb);
+ wdog_register(viasio_wdg_cb, sc);
}
int